Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python: Improve exception handling for ChatKit demo#2337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@moonbox3
Copy link
Contributor

Motivation and Context

Improve exception handling message.

Description

Improve exception handling message.

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows theContribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

CopilotAI review requested due to automatic review settingsNovember 20, 2025 00:58
@moonbox3moonbox3 self-assigned thisNov 20, 2025
Copy link
Contributor

CopilotAI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves exception handling in the ChatKit integration demo by sanitizing error messages returned to clients while maintaining detailed logging for debugging purposes.

Key Changes

  • Removed trailing whitespace from line 253
  • Updated error responses inupload_file andpreview_image endpoints to return generic error messages instead of exposing internal exception details

@moonbox3moonbox3 added this pull request to themerge queueNov 20, 2025
@github-merge-queuegithub-merge-queuebot removed this pull request from themerge queue due to failed status checksNov 20, 2025
@eavanvalkenburgeavanvalkenburg added this pull request to themerge queueNov 20, 2025
Merged via the queue intomicrosoft:main with commit61dbacdNov 20, 2025
29 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

@TaoChenOSUTaoChenOSUTaoChenOSU approved these changes

@eavanvalkenburgeavanvalkenburgeavanvalkenburg approved these changes

@peibekwepeibekwepeibekwe approved these changes

Assignees

@moonbox3moonbox3

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@moonbox3@TaoChenOSU@eavanvalkenburg@peibekwe

[8]ページ先頭

©2009-2025 Movatter.jp