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

Loading failure errors should indicate what was being loaded when error occured #3810

Open
pokepress opened this issue Jul 14, 2024 · 0 comments

Comments

@pokepress
Copy link

I was recently working with a project where some of the audio files wouldn't load properly at the end. Since the loading order is shuffled, it was difficult to tell which file triggered the issue. All I knew is I was getting an error here:

raise RuntimeError("Failed to decode audio.")

Obviously I put a breakpoint on that line, re-ran the project, and worked my way back up the stack to find the problematic file, but it would be nice if the error message gave some details about what it was trying to load. If this is an intentional omission, I understand, but I do think it would be helpful to include that information.

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

No branches or pull requests

1 participant