mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Added better error logging
This commit is contained in:
1 parent
671360a95b
commit
8ebbd7a398
1 file changed
+5
@@ -550,6 +550,11 @@ class FunctionsCustomServerTest extends Scope
|
||||
$this->assertEquals($executions['body']['executions'][0]['exitCode'], 0);
|
||||
|
||||
$stdout = explode("\n", $executions['body']['executions'][0]['stdout']);
|
||||
|
||||
if($executions['body']['executions'][0]['status'] === 'failed') {
|
||||
var_dump($executions['body']['executions'][0]['stdout']);
|
||||
var_dump($executions['body']['executions'][0]['stderr']);
|
||||
}
|
||||
|
||||
$this->assertEquals($stdout[0], $functionId);
|
||||
$this->assertEquals($stdout[1], 'Test '.$name);
|
||||
|
||||
Reference in new issue
Block a user