On Thu, Oct 18, 2018 at 10:45 AM Gil Portenseigne < gil.portensei...@nereide.fr> wrote:
> Hello ! > > While we are working on Groovy migration at Nereide, we figured out that > using ‘run service’ DSL method instead of returning the errorMap, a > ‘ExecutionServiceException’ is thrown [...] > I wonder if exception management is more costly than simple return. > May the GroovyEngine should handle the exception ? I do not grasp yet > the benenit of this implementation. > Hi Gil, if I recall correctly, the original goal was to implement a behavior similar to the default one of Minilang: if an error is thrown during the execution of the "call-service" directive in Minilang then the script execution is halted (see the definition of the property "break-on-error"). I hope it makes sense, Jacopo