Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to distinguish normal vs exceptional results? #44

Open
greg-dennis opened this issue Aug 22, 2015 · 0 comments
Open

How to distinguish normal vs exceptional results? #44

greg-dennis opened this issue Aug 22, 2015 · 0 comments

Comments

@greg-dennis
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant