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

Error handling for fragment processing #18

Closed marcinkp closed 5 years ago

marcinkp commented 5 years ago

Describe the bug

Knotx returned Status Code: 204 No Content for invalid fragment processig

To Reproduce Steps to reproduce the behavior:

  1. Define task with one action
  2. Do not handle transitions in task definition
  3. Action defined for task should return FragmentResult.ERROR_TRANSITION

Expected behavior Knotx returned Status Code: 204 No Content

malaskowski commented 5 years ago

Fixed in #22