Skip to content

Commit 8cfa39b

Browse files
author
waleed
committed
remove extraneous comment
1 parent 33b846b commit 8cfa39b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

apps/sim/lib/workflows/db-helpers.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,7 @@ export async function loadWorkflowFromNormalizedTables(
150150
})
151151

152152
// Sanitize any invalid custom tools in agent blocks to prevent client crashes
153-
const { blocks: sanitizedBlocks, warnings } = sanitizeAgentToolsInBlocks(blocksMap)
154-
if (warnings.length > 0) {
155-
logger.warn(`Sanitized workflow ${workflowId} tools with ${warnings.length} warning(s)`, {
156-
warnings,
157-
})
158-
}
153+
const { blocks: sanitizedBlocks } = sanitizeAgentToolsInBlocks(blocksMap)
159154

160155
// Convert edges to the expected format
161156
const edgesArray: Edge[] = edges.map((edge) => ({

0 commit comments

Comments
 (0)