Is there an existing issue for this?
Describe the bug
All 14 bare except: blocks catch every exception including KeyboardInterrupt, SystemExit, MemoryError, etc. This:
- Makes debugging impossible - errors are silently swallowed
- Violates PEP 8 ("Never use a bare except:")
- Hides real bugs (e.g. TypeError, ValueError from bad input)
Screenshots [optional]
No response
Steps To Reproduce
- src/original/fitting/OGC_AmsterdamUMC/LSQ_fitting.py -13 occurrences
- src/original/fitting/PV_MUMC/triexp_fitting_algorithms.py -1 occurrence
Expected behavior
Help in debugging the errors
Additional context
Replacing each bare except: with the most specific exception type(s) that the try block can raise.
Are you working on this?
Yes
Is there an existing issue for this?
Describe the bug
All 14 bare except: blocks catch every exception including KeyboardInterrupt, SystemExit, MemoryError, etc. This:
Screenshots [optional]
No response
Steps To Reproduce
Expected behavior
Help in debugging the errors
Additional context
Replacing each bare except: with the most specific exception type(s) that the try block can raise.
Are you working on this?
Yes