mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Better check + CI test
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user