mirror of
https://github.com/appwrite/appwrite
synced 2026-05-06 06:48:22 +00:00
Fix format
This commit is contained in:
parent
1762c4f491
commit
b81e9ffd47
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ Server::setResource('execute', function () {
|
|||
string $executionId = null,
|
||||
) {
|
||||
$error = null; // Used to re-throw at the end to trigger Logger (Sentry)
|
||||
|
||||
|
||||
$user ??= new Document();
|
||||
$functionId = $function->getId();
|
||||
$deploymentId = $function->getAttribute('deployment', '');
|
||||
|
|
@ -222,7 +222,7 @@ Server::setResource('execute', function () {
|
|||
->submit();
|
||||
}
|
||||
|
||||
if(!empty($error)) {
|
||||
if (!empty($error)) {
|
||||
$projectId = $project->getId();
|
||||
throw new Exception("Error in project #{$projectId}, function #{$functionId}: " . $error);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue