EventsDB.event: throw error on insertion

This commit is contained in:
Alex Gleason 2024-08-09 12:47:59 -05:00
parent 9b68d2d08a
commit abc1a6eb49
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -82,7 +82,7 @@ class EventsDB implements NStore {
} else if (e.message === 'Cannot replace an event with an older event') {
return;
} else {
this.console.debug('ERROR', e.message);
throw e;
}
}
}