forked from p15670423/monkey
Island: Add message to error on save
This commit is contained in:
parent
5f44204583
commit
8311fc79a9
|
@ -24,7 +24,7 @@ class MongoEventRepository(IEventRepository):
|
|||
serialized_event = serializer.serialize(event)
|
||||
self._events_collection.insert_one(serialized_event)
|
||||
except Exception as err:
|
||||
raise StorageError(err)
|
||||
raise StorageError(f"Error saving event: {err}")
|
||||
|
||||
def get_events(self) -> Sequence[AbstractAgentEvent]:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue