mirror of
https://github.com/craigerl/aprsd.git
synced 2025-04-13 06:58:30 -04:00
fixed the failure during loading for objectstore
This patch fixes a silent failure of loading data from the objectstore
This commit is contained in:
parent
deec249c45
commit
5e50792e80
@ -92,7 +92,7 @@ class ObjectStoreMixin:
|
||||
f"{self.__class__.__name__}::Loaded {len(self)} entries from disk.",
|
||||
)
|
||||
LOG.debug(f"{self.data}")
|
||||
except pickle.UnpicklingError as ex:
|
||||
except (pickle.UnpicklingError, Exception) as ex:
|
||||
LOG.error(f"Failed to UnPickle {self._save_filename()}")
|
||||
LOG.error(ex)
|
||||
self.data = {}
|
||||
|
Loading…
Reference in New Issue
Block a user