mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Normalize error code for SMTP export handler
This commit is contained in:
1 parent
49f93f073a
commit
e5fbe97d90
1 file changed
+1
-1
@@ -1703,7 +1703,7 @@ class Appwrite extends Source
|
||||
Resource::TYPE_SMTP,
|
||||
Transfer::GROUP_SETTINGS,
|
||||
message: $e->getMessage(),
|
||||
code: $e->getCode(),
|
||||
code: (int) $e->getCode() ?: Exception::CODE_INTERNAL,
|
||||
previous: $e
|
||||
));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user