fix: add debug logging for session:reset hook errors
This commit is contained in:
parent
2e3e516a4a
commit
a54be14070
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user