Skip to content

Fix bare 'except:' → 'except Exception:'#8

Open
fazalpsinfo-cmyk wants to merge 1 commit into
epitron:masterfrom
fazalpsinfo-cmyk:fix-bare-except
Open

Fix bare 'except:' → 'except Exception:'#8
fazalpsinfo-cmyk wants to merge 1 commit into
epitron:masterfrom
fazalpsinfo-cmyk:fix-bare-except

Conversation

@fazalpsinfo-cmyk

Copy link
Copy Markdown

Replaced bare except: with except Exception: to avoid catching unexpected system exceptions like KeyboardInterrupt and SystemExit.

This improves code safety and follows Python best practices.

If you find this useful, consider supporting me at https://buymeacoffee.com/muhamedfazalps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant