-
Notifications
You must be signed in to change notification settings - Fork 13
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
Consistent reporting of tracebacks #82
Comments
I'm fine with the proposal. Other command line programs work in a similar way, so +1 |
I personally agree with this, but the Cylc 7 pen test report (I think?) suggested users should never see tracebacks as they expose information about the program internals. On the other hand, is that a pointless distinction for a) Python programs, that b) have a |
Also it’s an open source project, so anyone with malicious intent can figure out internals.. The only “danger” is runtime settings (if not careful) and site installation/file-structure being exposed. |
... unless the top-level location of the python library is considered sensitive information that shouldn't be exposed to clients (a web UI user with no local account on the back end would not have easy access to that otherwise) |
(Tracebacks would require the server to run in debug mode) |
We need to agree when tracebacks should be reported and then implement the agreed approach across the codebase.
Proposal:
For an example of inconsistency, create a workflow with a space after a continuation line.
cylc validate
just returns an error message butcylc run
reports a traceback as well.The text was updated successfully, but these errors were encountered: