Skip to content

Commit

Permalink
Merge pull request bids-standard#1829 from effigies/fix/expressions
Browse files Browse the repository at this point in the history
ENH: Return null on exception in expression language
  • Loading branch information
rwblair authored Oct 19, 2023
2 parents 27141af + c47caa5 commit 78fbf69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bids-validator/src/schema/applyRules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function evalCheck(src: string, context: BIDSContext) {
return test(safeContext)
} catch (error) {
logger.debug(error)
return false
return null
}
}

Expand Down

0 comments on commit 78fbf69

Please sign in to comment.