Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: d0be8d6e0f37c6d91f9fe0b85b15b14b0dd1d552
https://github.com/tribe29/checkmk/commit/d0be8d6e0f37c6d91f9fe0b85b15b14b0…
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