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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: re-join str type error_msgs using \n\t in general_checkpoint_io #5615

Open
ericxsun opened this issue Apr 21, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@ericxsun
Copy link
Contributor

馃悰 Describe the bug

The type of error_msgs is str, we should not re-join it using \n\t.

self.__class__.__name__, "\n\t".join(error_msgs)

otherwise it led to a weird output

n\t\'\n\ts\n\tc\n\to\n\tr\n\te\n\t.\n\tw\n\te\n\ti\n\tg\n\th\n\tt\n\t\'\n\t]\n\t"\n\t.\n\t 

Environment

No response

@ericxsun ericxsun added the bug Something isn't working label Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant