Skip to content

fix: replace bare except clause in AppPuppeteer.get_command_types#312

Open
nuthalapativarun wants to merge 1 commit intomicrosoft:pre-releasefrom
nuthalapativarun:fix/bare-except-app-puppeteer
Open

fix: replace bare except clause in AppPuppeteer.get_command_types#312
nuthalapativarun wants to merge 1 commit intomicrosoft:pre-releasefrom
nuthalapativarun:fix/bare-except-app-puppeteer

Conversation

@nuthalapativarun
Copy link
Copy Markdown

Summary

  • Replace bare except: with except Exception: in AppPuppeteer.get_command_types

Changes

ufo/automator/puppeteer.pyget_command_types used a bare except: clause when the receiver lookup fails. Changed to except Exception: to avoid inadvertently suppressing SystemExit or KeyboardInterrupt.

Bare except clauses catch SystemExit and KeyboardInterrupt in addition
to regular exceptions. Replace with except Exception.
@nuthalapativarun
Copy link
Copy Markdown
Author

Hi team — gentle ping on this PR. Happy to rebase or address any feedback if needed. Let me know if there's anything blocking review!

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