Werk #13042: check_mail_loop: respect --debug

Component Checks & Agents
Title check_mail_loop: respect --debug
Date Sep 23, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0p12 2.1.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The --debug flag for check_mail_loop did not affect all possible exceptions.

Now all catched exceptions should be raised with their full stack trace if --debug is provided on the commandline.

To the list of all Werks