From 1726f9ea5a8f301ce9382a17ba2cae8e5054f716 Mon Sep 17 00:00:00 2001 From: Nour Alharithi Date: Tue, 23 Jan 2024 13:35:49 -0800 Subject: [PATCH] logging change --- src/dlob-subscriber/DLOBSubscriberIO.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dlob-subscriber/DLOBSubscriberIO.ts b/src/dlob-subscriber/DLOBSubscriberIO.ts index 6fad2a0..87aa4a9 100644 --- a/src/dlob-subscriber/DLOBSubscriberIO.ts +++ b/src/dlob-subscriber/DLOBSubscriberIO.ts @@ -149,9 +149,10 @@ export class DLOBSubscriberIO extends DLOBSubscriber { Math.abs(slot - l2Formatted['marketSlot']) > this.killSwitchSlotDiffThreshold ) { - console.log(`Killing process due to slot diffs: + console.log(`Killing process due to slot diffs for market ${marketName}: dlobProvider slot: ${slot} oracle slot: ${l2Formatted['oracleData']['slot']} + market slot: ${l2Formatted['marketSlot']} `); process.exit(1); }