Right now, it seems difficult to distinguish normal vs exceptional results. How hard would it be to add an additional field to "output", like "output.error", that would be set if and only if an exception were raised. Looking at the code, some cases would be easy to handle, including:
Right now, it seems difficult to distinguish normal vs exceptional results. How hard would it be to add an additional field to "output", like "output.error", that would be set if and only if an exception were raised. Looking at the code, some cases would be easy to handle, including:
But what about valid code that logs some stdout but then raises an error itself? Can this kind of exceptional result be detected?