Skip to content

Conversation

@yushihang
Copy link
Contributor

@yushihang yushihang commented Mar 12, 2025

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