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 229c539 commit f3be5b7Copy full SHA for f3be5b7
packages/db/src/impl/couch/updateQueue.ts
@@ -105,6 +105,8 @@ export default class UpdateQueue extends Loggable {
105
}
106
107
108
+ // This should be unreachable, but it satisfies the compiler that a value is always returned or an error thrown.
109
+ throw new Error(`UpdateQueue failed for doc ${id} after ${MAX_RETRIES} retries.`);
110
} else {
111
throw new Error(`Empty Updates Queue Triggered`);
112
0 commit comments