mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix logging behaviour; new tests
This commit is contained in:
1 parent
f9992c2f64
commit
4ae5e82d6f
3 files changed
+145
-7
No files matched your search
@@ -260,9 +260,7 @@ class Functions extends Action
|
||||
'search' => implode(' ', [$function->getId(), $executionId]),
|
||||
]);
|
||||
|
||||
if ($function->getAttribute('logging')) {
|
||||
$execution = $dbForProject->createDocument('executions', $execution);
|
||||
}
|
||||
$execution = $dbForProject->createDocument('executions', $execution);
|
||||
|
||||
if ($execution->isEmpty()) {
|
||||
throw new Exception('Failed to create execution');
|
||||
|
||||
Reference in new issue
Block a user