fix: add debug logging for session:reset hook errors

This commit is contained in:
Saurabh 2026-03-20 12:59:36 +05:30
parent 2e3e516a4a
commit a54be14070

View File

@ -598,7 +598,9 @@ export async function initSessionState(params: {
workspaceDir,
cfg,
});
void triggerInternalHook(autoResetEvent).catch(() => {});
void triggerInternalHook(autoResetEvent).catch((err) => {
log.debug("session:reset hook error (auto-reset)", { error: String(err) });
});
}
// Run session plugin hooks (fire-and-forget)