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

Provide much better error messages #337

Merged
merged 3 commits into from May 29, 2019

Conversation

yuvipanda
Copy link
Collaborator

@yuvipanda yuvipanda commented May 19, 2019

  • When processes fail, they actually print a failure message
    on the user's terminal
  • Regardless of success or failure, we print all output to
    /opt/tljh/installer.log
  • Make sure installer.log isn't readable by non-root users

This should make debugging people's issues much easier, since
we can actually see the output of failing commands rather than
having to guess.

Fixes #84
Fixes #142

  • Add / update documentation
  • Add tests

- When processes fail, they actually print a failure message
  on the user's terminal
- Regardless of success or failure, we print all output to
  /opt/tljh/installer.log

This should make debugging people's issues *much* easier, since
we can actually see the output of failing commands rather than
having to guess.
Doesn't have any sensitive info right now but might
in the future.

Fixes jupyterhub#142
@yuvipanda
Copy link
Collaborator Author

Rebased.

@yuvipanda yuvipanda merged commit 993ccaf into jupyterhub:master May 29, 2019
@yuvipanda
Copy link
Collaborator Author

<3 thanks, @betatim

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

Successfully merging this pull request may close these issues.

installer.log should not be world readable Write stdout / stderr from all subprocess commands to log
2 participants