Rethrow expression evaluation errors to cause workflow to fault

This commit is contained in:
Sipke Schoorstra 2021-05-17 10:48:26 +02:00
parent 610af50524
commit f6e5aea60f

View file

@ -45,9 +45,8 @@ namespace Elsa.Expressions
catch (Exception e)
{
_logger.LogWarning(e, "Failed to evaluate expression {Expression} using syntax {Syntax}", expression, syntax);
throw;
}
return default;
}
}
}