We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c155053 commit 663427eCopy full SHA for 663427e
dhrn-functions/packages/dhrn/sendmail/__main__.py
@@ -23,6 +23,6 @@ def main(args):
23
client.send(mail)
24
except mt.exceptions.AuthorizationError as e:
25
# Handle the authorization error here
26
- return {"error": "Mailtrap authorization error {MAILTRAP_API_TOKEN}"}
+ return {"error": f"Mailtrap authorization error {MAILTRAP_API_TOKEN}", "body": args}
27
28
return {"body": args}
0 commit comments