Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix string formatting in FileConversionException error message #1121

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

yushihang
Copy link
Contributor

Problem

The error message formatting in FileConversionException class is incorrect due to a missing f-string prefix, preventing proper display of the converter type name.

Changes

  • Added f prefix to enable string interpolation in error message
  • Ensures proper display of converter class name in exception messages

Testing

  • Verify exception message correctly displays converter class name
  • Ensure other exception messages are formatted correctly

Related Issues

None

Notes

This is a simple string formatting fix with no functional logic changes.

@afourney afourney merged commit 75140a9 into microsoft:main Mar 12, 2025
3 checks passed
@yushihang yushihang deleted the fix/exception-fstring-format branch March 13, 2025 03:35
@yushihang yushihang restored the fix/exception-fstring-format branch March 13, 2025 03:35
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