Skip to content

Commit 2c0e84c

Browse files
authored
Merge pull request #406 from constructive-io/copilot/sub-pr-404-again
Include error details in database notify listener logging
2 parents 8a46ad3 + c31ea60 commit 2c0e84c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jobs/knative-job-worker/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export default class Worker {
190190
});
191191
client.query('LISTEN "jobs:insert"');
192192
client.on('error', (e: unknown) => {
193-
log.error('Error with database notify listener');
193+
log.error('Error with database notify listener', String(e));
194194
release();
195195
this.listen();
196196
});

0 commit comments

Comments
 (0)