Skip to content

Click Refactor - Traceback doesn't show on Ctrl+C #1207

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

Closed
jsonvillanueva opened this issue Mar 31, 2021 · 1 comment
Closed

Click Refactor - Traceback doesn't show on Ctrl+C #1207

jsonvillanueva opened this issue Mar 31, 2021 · 1 comment
Labels
enhancement Additions and improvements in general

Comments

@jsonvillanueva
Copy link
Member

During the times of Argparse, Ctrl+C would show the traceback. Click has its own exception handling which conflicts with how Argparse would've handled this previously. Instead it just shows Aborted! prior to ending program execution.

The solution to this should be on this page: https://click.palletsprojects.com/en/7.x/exceptions/?highlight=aborted#what-if-i-don-t-want-that but needs to consider our entry point.

@jsonvillanueva jsonvillanueva added the enhancement Additions and improvements in general label Apr 18, 2021
@MrDiver MrDiver moved this to 🆕 New in Dev Board Jun 18, 2022
@behackl
Copy link
Member

behackl commented Oct 26, 2023

Is there a case where we actually want to have the full traceback -- does this not work as intended as-is? Closing this for now (but we can reopen in case the issue still exists and can be specified more precisely).

@behackl behackl closed this as completed Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Additions and improvements in general
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants