Skip to content

Commit 4026148

Browse files
minor refactor - reduce log messages
Signed-off-by: nkomonen-amazon <[email protected]>
1 parent a858f95 commit 4026148

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/core/src/shared/crashMonitoring.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,6 @@ class CrashChecker {
307307
passive: true,
308308
timestamp: ext.lastHeartbeat,
309309
})
310-
311-
devLogger?.debug(`crashMonitoring: CRASH: following has crashed: sessionId: ${ext.sessionId}`)
312310
})
313311
}
314312

@@ -318,7 +316,7 @@ class CrashChecker {
318316
// Sanity check: ENSURE THAT AFTER === ACTUAL or this implies that our data is out of sync
319317
const afterActual = (await state.getAllExts()).map((i) => truncateUuid(i.sessionId))
320318
devLogger?.debug(
321-
`crashMonitoring: CHECKED: Result of cleaning up stopped instances\nBEFORE: ${JSON.stringify(before)}\nAFTER: ${JSON.stringify(after)}\nACTUAL: ${JSON.stringify(afterActual)}`
319+
`crashMonitoring: CHECKED: Result of cleaning up crashed instances\nBEFORE: ${JSON.stringify(before)}\nAFTER: ${JSON.stringify(after)}\nACTUAL: ${JSON.stringify(afterActual)}`
322320
)
323321
}
324322

0 commit comments

Comments
 (0)