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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p4 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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".

To the list of all Werks