Skip to content

Commit cc283f9

Browse files
CopilotAnmol1696
andcommitted
Include error details in database notify listener log
Co-authored-by: Anmol1696 <10805402+Anmol1696@users.noreply.github.com>
1 parent 8dc5dbb commit cc283f9

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)