Skip to content

Commit

Permalink
fix: add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeroman committed Nov 28, 2023
1 parent 390a494 commit b8792f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/jobs/rarible-sync/queues/realtime-queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@ if (config.doRealtimeWork) {
} else {
await redis.set(cacheKey, newTimestamp);
}
} catch (error) {
} catch (error: any) {
logger.error(
REALTIME_QUEUE_NAME,
JSON.stringify({
message: `Rarible sync failed attempts=${job.attemptsMade}, error=${error}`,
error,
stack: error.stack,
attempts: job.attemptsMade,
syncSource: "Rarible",
})
Expand Down

0 comments on commit b8792f3

Please sign in to comment.