Skip to content

Commit

Permalink
🐛 Ensure exception can be pickled
Browse files Browse the repository at this point in the history
Kind of annoying to have a test suite crash because loading the
pickled exception crashes.
  • Loading branch information
sergei-maertens committed Jul 25, 2024
1 parent f16ede9 commit 68728f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion digid_eherkenning/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ class eHerkenningNoRSINError(eHerkenningError):

class CertificateProblem(Exception):
def __init__(self, msg: str, *args, **kwargs):
super().__init__(*args, **kwargs)
super().__init__(msg, *args, **kwargs)
self.message = msg

0 comments on commit 68728f4

Please sign in to comment.