better logging when promote does not work

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-05-05 14:48:06 +02:00
parent 26909808de
commit 215dac80ae
2 changed files with 3 additions and 1 deletions

View File

@@ -215,6 +215,8 @@ export async function incomingEvent(job: Job<EventsQueuePayloadIncomingEvent>) {
prevEventJobStatus: await prevEventJob
.getState()
.catch(() => 'unknown'),
prevEvent,
currEvent: payload,
},
`Failed to promote job`
);