Skip to content

fix: replace 3 bare except clauses with except Exception#1513

Open
haosenwang1018 wants to merge 1 commit into
bottlepy:masterfrom
haosenwang1018:fix/bare-excepts
Open

fix: replace 3 bare except clauses with except Exception#1513
haosenwang1018 wants to merge 1 commit into
bottlepy:masterfrom
haosenwang1018:fix/bare-excepts

Conversation

@haosenwang1018
Copy link
Copy Markdown

Replace bare except clauses with except Exception.

Copy link
Copy Markdown

@themavik themavik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

except Exception in the debug traceback template and cookie tests avoids catching BaseException. nit: the template path still only wraps repr(); surface area matches the old bare except.

@defnull
Copy link
Copy Markdown
Member

defnull commented Mar 23, 2026

Please declare AI assisted contributions according to the (recently added) AGENTS.md.

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.

3 participants