Suppressing or Redirecting Stacktraces from Workflow [message #1839840] |
Tue, 30 March 2021 04:40 |
|
We are using the ant workflow implementation for coordinating builds. Occasionally, we execute speculative steps in eol and wrap them with an ant-level catch construct. This works ok from a functional point of view, but produces a substantial stack dump from the task as it fails. The stack dump is not very useful, as it does not refer to the eol program and its state, but rather to the state of the interpreter running the EOL. We would like to suppress this, but would like to do this declaratively, rather than subclassing the ant build logger that relays this information.
Is this possible?
learn:
[epsilon.eol - learn_element.eol] EXCEPTION: Undefined variable, type or model: 'contained'
[epsilon.eol - learn_element.eol]
[epsilon.eol - learn_element.eol] at org.eclipse.epsilon.eol.dom.NameExpression.execute(NameExpression.java:84)
[epsilon.eol - learn_element.eol] at org.eclipse.epsilon.eol.dom.NameExpression.execute(NameExpression.java:96)
[epsilon.eol - learn_element.eol] at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeImpl(ExecutorFactory.java:204)
[epsilon.eol - learn_element.eol] at org.eclipse.epsilon.eol.execute.ExecutorFactory.execute(ExecutorFactory.java:233)
[epsilon.eol - learn_element.eol] at org.eclipse.epsilon.eol.dom.OperationCallExpression.execute(OperationCallExpression.java:149)
[epsilon.eol - learn_element.eol] at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeImpl(ExecutorFactory.java:204)
[epsilon.eol - learn_element.eol] at org.eclipse.epsilon.eol.execute.ExecutorFactory.execute(ExecutorFactory.java:233)
[epsilon.eol - learn_element.eol] at org.eclipse.epsilon.eol.dom.PropertyCallExpression.execute(PropertyCallExpression.java:47)
|
|
|
Re: Suppressing or Redirecting Stacktraces from Workflow [message #1839851 is a reply to message #1839840] |
Tue, 30 March 2021 08:49 |
|
Hi Jörn,
In my setup, the exception also contains information about the location of the exception in the EOL program. Could you please check with the latest interim version of Epsilon and let me know if the problem persists?
main:
[epsilon.eol - tree.eol] EXCEPTION: Property 'foo' not found in object t_tree
[epsilon.eol - tree.eol] at (.../tree.eol@1:0-1:11)
[epsilon.eol - tree.eol] at (.../tree.eol@1:0-1:22)
[epsilon.eol - tree.eol] at (.../tree.eol@1:0-1:22)
[epsilon.eol - tree.eol] at (...tree.eol@1:0-1:22)
[epsilon.eol - tree.eol] at (.../tree.eol@1:0-1:22)
[epsilon.eol - tree.eol]
[epsilon.eol - tree.eol] at org.eclipse.epsilon.eol.execute.introspection.java.JavaPropertyGetter.invoke(JavaPropertyGetter.java:60)
[epsilon.eol - tree.eol] at org.eclipse.epsilon.eol.dom.PropertyCallExpression.execute(PropertyCallExpression.java:76)
Best,
Dimitris
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03050 seconds