Skip to content

Commit f093193

Browse files
waleedlatif1claude
andcommitted
improvement(processing): remove empty else/catch blocks left by debug log cleanup
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e7b216b commit f093193

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

apps/sim/app/api/workflows/[id]/deployed/route.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export async function GET(request: NextRequest, { params }: { params: Promise<{
3636
const response = createErrorResponse(error.message, error.status)
3737
return addNoCacheHeaders(response)
3838
}
39-
} else {
4039
}
4140

4241
let deployedState = null

apps/sim/background/webhook-execution.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@ async function executeWebhookJobInternal(
449449
})
450450
safeAssign(input, processedInput as Record<string, unknown>)
451451
}
452-
} else {
453452
}
454453
} catch (error) {
455454
logger.error(`[${requestId}] Error processing trigger file outputs:`, error)

apps/sim/lib/execution/preprocessing.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,6 @@ export async function preprocessExecution(
340340
},
341341
}
342342
}
343-
} else {
344343
}
345344

346345
// ========== STEP 6: Check Rate Limits ==========

0 commit comments

Comments
 (0)