Better check + CI test
This commit is contained in:
parent
6b2b50c77e
commit
3f833b71a9
|
@ -34,6 +34,7 @@ install:
|
|||
|
||||
script:
|
||||
- docker ps
|
||||
- docker stop appwrite-maintenance
|
||||
- docker-compose logs appwrite
|
||||
- docker-compose exec appwrite doctor
|
||||
- docker-compose exec appwrite vars
|
||||
|
|
|
@ -278,8 +278,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