logging change

This commit is contained in:
Nour Alharithi
2024-01-23 13:36:30 -08:00
parent de3d5bdec0
commit 65a6f38e31

View File

@@ -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);
}