Skip to content

Commit f3be5b7

Browse files
committed
linting
1 parent 229c539 commit f3be5b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/db/src/impl/couch/updateQueue.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ export default class UpdateQueue extends Loggable {
105105
}
106106
}
107107
}
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.`);
108110
} else {
109111
throw new Error(`Empty Updates Queue Triggered`);
110112
}

0 commit comments

Comments
 (0)