mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Fix issue with combined expression not resolving if one is invalid (#3506)
This commit is contained in:
@@ -26,7 +26,11 @@ tmpl.brackets.set('{{ }}');
|
||||
// Make sure that error get forwarded
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
||||
tmpl.tmpl.errorHandler = (error: Error) => {
|
||||
throw error;
|
||||
if (error instanceof ExpressionError) {
|
||||
if (error.context.failExecution) {
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export class Expression {
|
||||
|
||||
Reference in New Issue
Block a user