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 26ae58c commit a519f4fCopy full SHA for a519f4f
src/app/worker.ts
@@ -28,8 +28,11 @@ export class AppWorker implements IRunnable {
28
}
29
30
private onError(error: Error) {
31
- debug('error: %o', error)
32
- throw error
+ if (error.name === 'TypeError' && error.message === "Cannot read properties of undefined (reading '__knexUid')") {
+ console.error('Unable to acquire connection. Please increase DB_MAX_POOL_SIZE, ')
33
+ return
34
+ }
35
+ console.error('uncaught error:', error)
36
37
38
private onExit() {
0 commit comments