Skip to content

Fallible one-shot systems silently swallow errors #19722

Open
@alice-i-cecile

Description

@alice-i-cecile

I see it got merged, but I don't think that PR quite works the way we want. It lets you use any output type with commands.run_system_cached, but it just drops the output with ;. So if you pass a fallible system and it fails, it will silently drop the Result::Err, and not pass it to the error handler.

From @chescock about #19678.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-BugAn unexpected or incorrect behaviorS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions