mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Ignore repetitive error message
This commit is contained in:
parent
96af3bb8bf
commit
8c3e16fd41
1 changed files with 2 additions and 0 deletions
|
|
@ -126,6 +126,8 @@ async function storeEvent(event: DittoEvent, signal?: AbortSignal): Promise<void
|
|||
throw new RelayError('blocked', 'event deleted by user');
|
||||
} else if (e.message === 'Cannot replace an event with an older event') {
|
||||
return;
|
||||
} else if (e.message === 'ERROR The transaction "TRANSACTION_NAME" has been aborted') {
|
||||
return; // useless error message, probably from deno-postgres
|
||||
} else {
|
||||
debug('ERROR', e.message);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue