Skip to content
Unverified Commit 6db6a615 authored by Christian Clauss's avatar Christian Clauss Committed by GitHub
Browse files

Do not use bare `except:`

Do not use bare `except:`, it also catches unexpected events like memory errors, interrupts, system exit, and so on.  Prefer `except Exception:`.  If you're sure what you're doing, be explicit and write `except BaseException:`.
parent 79a3963c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment