mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
EventsDB.event: throw error on insertion
This commit is contained in:
parent
9b68d2d08a
commit
abc1a6eb49
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ class EventsDB implements NStore {
|
||||||
} else if (e.message === 'Cannot replace an event with an older event') {
|
} else if (e.message === 'Cannot replace an event with an older event') {
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
this.console.debug('ERROR', e.message);
|
throw e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue