-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust: email: replace
unwrap
with proper error handling
This commit addresses the issue of using `unwrap` calls in the `send_email` function, which could cause the program to panic and prevent the proper use of mutexes for thread safety (as well as early exit). Signed-off-by: Charalampos Mitrodimas <charmitro@posteo.net>
- Loading branch information
Showing
1 changed file
with
55 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters