Minor patch
This commit is contained in:
parent
26faaae5fc
commit
d908606509
|
@ -313,8 +313,8 @@ class FunctionsV1
|
|||
'time' => 0,
|
||||
]);
|
||||
|
||||
if(false === $execution) {
|
||||
throw new Exception('Failed to create execution');
|
||||
if(false === $execution || ($execution instanceof Document && $execution->isEmpty())) {
|
||||
throw new Exception('Failed to create or read execution');
|
||||
}
|
||||
|
||||
Authorization::reset();
|
||||
|
|
Loading…
Reference in a new issue