diff --git a/packages/opencode/src/session/index.ts b/packages/opencode/src/session/index.ts index e4a3162a6..66ee501c1 100644 --- a/packages/opencode/src/session/index.ts +++ b/packages/opencode/src/session/index.ts @@ -742,7 +742,9 @@ export namespace Session { draft.title = title.trim() }) }) - .catch(() => {}) + .catch((error) => { + log.error("failed to generate title", { error, model: small.info.id }) + }) } const agent = await Agent.get(inputAgent)