Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: f7247718ca441d066550b7873d9de2417817182b
https://github.com/tribe29/checkmk/commit/f7247718ca441d066550b7873d9de2417…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-12-07 (Mon, 07 Dec 2020)
Changed paths:
M cmk/fetchers/protocol.py
M tests/unit/cmk/fetchers/test_protocol.py
Log Message:
-----------
Fix pickling problem of traceback
Pickling an exception with a traceback may fail with
Exception is 'cannot pickle 'traceback' object'
This patch explicitly strip the traceback off the exception.
Interestingly, the faulty behavior could not be reproduced locally. The
unit tests seem to show that pickle already strips the traceback.
CMK-6651
Change-Id: Ic188f111f87d774084a6c60c150c389b61238c6c