Skip to content

quiet client-caused 4xx in log_exception - #460

Merged
mcoughlin merged 4 commits into
cesium-ml:mainfrom
mcoughlin:invalid-multipart
Sep 10, 2026
Merged

mcoughlin merged 4 commits into
cesium-ml:mainfrom
mcoughlin:invalid-multipart

Conversation

@mcoughlin

Copy link
Copy Markdown
Collaborator

This PR fixes some 4xx that made it to Sentry as "errors."

@mcoughlin
mcoughlin requested a review from stefanv August 22, 2026 16:52
Comment thread app/handlers/base.py Outdated
Comment thread app/handlers/base.py Outdated
self.render("loginerror.html", app=cfg["app"], error_message=str(err))

def log_exception(self, typ=None, value=None, tb=None):
# Expected conditions raised as plain exceptions, with no status to test.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't understand this comment.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

fixed!

@stefanv stefanv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good overall; would be great if we can clarify the comments here.

mcoughlin and others added 3 commits September 10, 2026 12:54
@mcoughlin
mcoughlin merged commit 61147d9 into cesium-ml:main Sep 10, 2026
3 checks passed
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.

2 participants