We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 093312e commit c72c2ddCopy full SHA for c72c2dd
.changeset/unlucky-jokes-doubt.md
packages/web/src/db/adapters/LockedAsyncDatabaseAdapter.ts
@@ -319,7 +319,7 @@ export class LockedAsyncDatabaseAdapter
319
holdId = this.requiresHolds ? await this.baseDB.markHold() : null;
320
return await callback();
321
} catch (ex) {
322
- if (ex instanceof ConnectionClosedError || (ex instanceof Error && ex.name === 'NoModificationAllowedError')) {
+ if (ex instanceof ConnectionClosedError) {
323
if (this.options.reOpenOnConnectionClosed && !this.databaseOpenPromise && !this.closing) {
324
// Immediately re-open the database. We need to miss as little table updates as possible.
325
this.reOpenInternalDB();
0 commit comments