Ticket 1701: do not catch BaseException, Exception, StandardError or Warning

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Ticket 1701: do not catch BaseException, Exception, StandardError or Warning

Post by Kunda1 »

issue #1701: do not catch BaseException, Exception, StandardError or Warning
Description:
Catch statements should be as specific as possible. Catching "all" Exceptions must be avoided. The current behavior has enormous drawbacks when it comes to interaction with outside python modules
.

Opening forum thread for this ticket to get some exposure, since it seems important ;)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply