logging change

This commit is contained in:
Nour Alharithi
2024-01-23 13:35:49 -08:00
parent b82cda8695
commit 1726f9ea5a

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