Skip to content

Commit aab227c

Browse files
committed
It looks like env variables aren't being honored?
1 parent 663427e commit aab227c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dhrn-functions/packages/dhrn/sendmail/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ def main(args):
2323
client.send(mail)
2424
except mt.exceptions.AuthorizationError as e:
2525
# Handle the authorization error here
26-
return {"error": f"Mailtrap authorization error {MAILTRAP_API_TOKEN}", "body": args}
26+
return {"error": f"Mailtrap authorization error {MAILTRAP_API_TOKEN}, {MAILTRAP_SENDER_ADDRESS}, {MAILTRAP_TO_ADDRESS}", "body": args}
2727

2828
return {"body": args}

0 commit comments

Comments
 (0)