Use `except Exception:` instead of `except:`