Knotx / knotx-fragments

Fragments map-reduce processing using Graph flows, supplier and assembler.
https://knotx.io
Apache License 2.0
3 stars 5 forks source link

FragmentResult error details #183

Closed tomaszmichalak closed 4 years ago

tomaszmichalak commented 4 years ago

Is your feature request related to a problem? Please describe. The fragment result does not provide detailed error information. All errors are serialized in the node's log, however there is no dedicated syntax.

Describe the solution you'd like Detailed error information is serialized.

{ "fragment": { }, "transition": "_error", "log": null, "error": { "code": "_GENERAL_EXCEPTION", "exceptions": [ { "className": "java.lang.IllegalArgumentException", "stacktrace": [ "io.knotx.fragments.api.FragmentResultTest.expectExceptionDetails(FragmentResultTest.java:78)", ] } ] } }

tomaszmichalak commented 4 years ago

Duplicate #181.