From 334b179048b813535657b32ddf4ee6547dd06d2b Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 30 May 2026 07:59:05 -0400 Subject: [PATCH] fix: Prevent Linear unfurl errors from bubbling to error tracking (#12532) Returning the unfurl promises without awaiting them inside the try block meant rejections (e.g. "Entity not found: Issue") escaped the catch and were reported to error tracking. Await them so they are caught and returned as a handled { error } result. Co-authored-by: Claude Opus 4.8 --- plugins/linear/server/linear.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/linear/server/linear.ts b/plugins/linear/server/linear.ts index 63179dfca8..85a8376430 100644 --- a/plugins/linear/server/linear.ts +++ b/plugins/linear/server/linear.ts @@ -148,9 +148,9 @@ export class Linear { switch (resource.type) { case UnfurlResourceType.Issue: - return Linear.unfurlIssue(client, resource.id, actor); + return await Linear.unfurlIssue(client, resource.id, actor); case UnfurlResourceType.Project: - return Linear.unfurlProject(client, resource.id, actor); + return await Linear.unfurlProject(client, resource.id, actor); default: return; }