mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Throw error only on nonzero exit code
This commit is contained in:
1 parent
fc83bc1276
commit
d6fc03ca63
1 file changed
+1
-1
@@ -124,7 +124,7 @@ class CertificatesV1
|
||||
." -w ".APP_STORAGE_CERTIFICATES
|
||||
." -d {$domain->get()}", '', $stdout, $stderr);
|
||||
|
||||
if($stderr || $exit !== 0) {
|
||||
if($exit !== 0) {
|
||||
throw new Exception('Failed to issue a certificate with message: '.$stderr);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user