-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Catch all exceptions in context.user_agent #11455
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
Conversation
@jaimergp Yeah, I know it's a pretty big anti-pattern, but we should swallow exceptions to make user experience not a problem. It's not great, but better than risking stuff. |
@jezdez - do we want to log the exception via |
Yeah, good idea. |
Co-authored-by: Jannis Leidel <jannis@leidel.info>
ee56786
to
49ce013
Compare
…onda into user-agent-ignore-importerror
You can merge this anytime now @jezdez! Thanks! |
Description
Checklist - did you ...
news
directory (using the template) for the next release's release notes?Follow-up for #11415 - ignore
ImportError
too if the solver cannot be imported. Otherwise,conda info
will fail (and it might be used for debugging purposes).Actually, we might want to ignore all exceptions in this block?
@jezdez