Do not use bare excepts and do not use except Exception under normal circumstances.
This PR instead creates a dummy class DummyException, that is never raised; like this I can debug in what contect those uncaught exceptions may occur. Over time, those blocks should then be replaced again by narrow exceptions that may be expected.
Do not use bare excepts and do not use
except Exception
under normal circumstances. This PR instead creates a dummy classDummyException
, that is never raised; like this I can debug in what contect those uncaught exceptions may occur. Over time, those blocks should then be replaced again by narrow exceptions that may be expected.