Skip to content

Commit

Permalink
failsafe mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderkirtzel committed Mar 10, 2025
1 parent 02d8c2c commit fbfc00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/src/core/mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function getMappingValue(
const mappings = isArray(data) ? data : [data];

for (const mapping of mappings) {
const result = processMappingValue(value, mapping, options);
const result = tryCatch(processMappingValue)(value, mapping, options);
if (isDefined(result)) return result;
}
}
Expand Down

0 comments on commit fbfc00d

Please sign in to comment.