Skip to content

Commit a2db100

Browse files
committed
Pass error as metadata in curation process catch
1 parent 2751711 commit a2db100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/curation/process.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function work(once: boolean) {
5757
logger.info(`Handled GitHub event "${action}" for PR#${pr.number}`)
5858
await queue.delete(message)
5959
} catch (error) {
60-
logger.error(String(error))
60+
logger.error('Failed to process curation webhook message', { error })
6161
} finally {
6262
if (!once) {
6363
setTimeout(work, 30000, once)

0 commit comments

Comments
 (0)