Werk #11980: check_mail: better error message if email could not be copied
| Component | Checks & agents | ||||
| Title | check_mail: better error message if email could not be copied | ||||
| Date | Mar 3, 2021 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
If a mail could not be copied the resulting error was a raw Exception with the title: "Response from server: SERVER". This werk changes the Exception type to RuntimeError by reusing the function "verified_result".