logging change
This commit is contained in:
@@ -149,9 +149,10 @@ export class DLOBSubscriberIO extends DLOBSubscriber {
|
|||||||
Math.abs(slot - l2Formatted['marketSlot']) >
|
Math.abs(slot - l2Formatted['marketSlot']) >
|
||||||
this.killSwitchSlotDiffThreshold
|
this.killSwitchSlotDiffThreshold
|
||||||
) {
|
) {
|
||||||
console.log(`Killing process due to slot diffs:
|
console.log(`Killing process due to slot diffs for market ${marketName}:
|
||||||
dlobProvider slot: ${slot}
|
dlobProvider slot: ${slot}
|
||||||
oracle slot: ${l2Formatted['oracleData']['slot']}
|
oracle slot: ${l2Formatted['oracleData']['slot']}
|
||||||
|
market slot: ${l2Formatted['marketSlot']}
|
||||||
`);
|
`);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user