From 30f35ac9f7bfbe0c7dbeb8cd714a57e507741c1a Mon Sep 17 00:00:00 2001 From: John Fawcett Date: Wed, 6 May 2026 15:56:22 +0000 Subject: [PATCH] chore(gastown): drop unused promise param from unhandledRejection handler --- services/gastown/container/src/main.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/gastown/container/src/main.ts b/services/gastown/container/src/main.ts index 8c738965c..4abff0666 100644 --- a/services/gastown/container/src/main.ts +++ b/services/gastown/container/src/main.ts @@ -23,7 +23,7 @@ log.info('container.cold_start', { // We deliberately DO NOT call process.exit here: visibility is the goal. // If a specific rejection turns out to be fatal state corruption we can // escalate it individually. -process.on('unhandledRejection', (reason, promise) => { +process.on('unhandledRejection', reason => { const err = reason instanceof Error ? { message: reason.message, stack: reason.stack, name: reason.name } @@ -33,7 +33,6 @@ process.on('unhandledRejection', (reason, promise) => { townId: TOWN_ID, uptimeMs: getUptime(), activeAgents: activeAgentCount(), - event: 'unhandled_rejection', }); });