Make FeatureLibError pickleable (#3762)

This commit is contained in:
Jens Kutilek 2025-02-03 17:48:21 +01:00
parent 696719ba27
commit 264b7ca985

View File

@ -1,5 +1,5 @@
class FeatureLibError(Exception):
def __init__(self, message, location):
def __init__(self, message, location=None):
Exception.__init__(self, message)
self.location = location