Skip to content

Commit ec06ab6

Browse files
waleedlatif1claude
andcommitted
fix: remove redundant clearTimeout in catch block
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 64f7b84 commit ec06ab6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

apps/sim/tools/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,6 @@ async function executeToolRequest(
639639
signal: controller.signal,
640640
})
641641
} catch (error) {
642-
if (timeoutId) clearTimeout(timeoutId)
643642
// Convert AbortError to a timeout error message
644643
if (error instanceof Error && error.name === 'AbortError') {
645644
throw new Error(`Request timed out after ${requestParams.timeout}ms`)

0 commit comments

Comments
 (0)