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

Do not print backtraces on program interrupt #221

Open
NathanReb opened this issue Oct 25, 2021 · 0 comments
Open

Do not print backtraces on program interrupt #221

NathanReb opened this issue Oct 25, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@NathanReb
Copy link
Contributor

As pointed out in #216, it seems that in some cases opam-monorepo prints an "uncaught exception" message, along with a backtrace when the user sends an interrupt (SIGINT via CTRC-C for instance).

It'd be great if it exited more gracefully in this case.

@samoht mentioned that he uses CTRL-C to skip prompt, i.e. as a way to answer no in our case. We might want to look into this as well but it seems we need to properly handle interruption/termination signals globally first.

@tmattio tmattio added enhancement New feature or request good first issue Good for newcomers labels Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants