Skip to content

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

@pokepress

Description

@pokepress

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions