Unanswered question

Transaction status set manual

Hi NEOTYS community,

Transactions complete wit a status error when e.g. an HTTP 500 error occurs. Is it possible to set a transaction to fail "manual"; using the javascript. API ' I've tried context.fail("fail"); this results in javascript error and also the transaction container is set to the status fail...; but is there "a better solution". Because I don't like the javascript error which is shown ..; check screenshot for more details

Regards,
Arjan

Arjan V.
Arjan V.

Arjan V.

Level
0
15 / 100
points

Answers