Skip to content

Commit e15f3dc

Browse files
committed
add catch
1 parent a76e6e9 commit e15f3dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/sim/providers/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,8 +1115,8 @@ export function prepareToolExecution(
11151115
if (tool.paramsTransform) {
11161116
try {
11171117
toolParams = tool.paramsTransform(toolParams)
1118-
} catch {
1119-
// Expected when LLM fills required fields at runtime
1118+
} catch (err) {
1119+
logger.warn('paramsTransform failed, using raw params', { error: err })
11201120
}
11211121
}
11221122

0 commit comments

Comments
 (0)