Context
In Traces, function calls are shown with information about their status:
- If the function returned an error, it's shown in red
- The error message is displayed in a special box - at least in theory
Problem
The error message shown in the box is not the one actually returned by the function. Instead, it's always the same generic, and useless, message:
call function "Foo": process "/runtime" did not complete successfully: exit code: 2
Solution
Use the existing "error box" to show the actual error returned by the function, instead of the generic "exit code: 2" error.
Context
In Traces, function calls are shown with information about their status:
Problem
The error message shown in the box is not the one actually returned by the function. Instead, it's always the same generic, and useless, message:
call function "Foo": process "/runtime" did not complete successfully: exit code: 2Solution
Use the existing "error box" to show the actual error returned by the function, instead of the generic "exit code: 2" error.