8000 Weird error handling in training · Issue #610 · RLBot/RLBot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Weird error handling in training #610
Open
@jboardman367

Description

@jboardman367

Errors that are raised in run_exercises during the execution of an exercise are handled in a way inconsistent with the typing of the method, https://github.com/RLBot/RLBot/blob/master/src/main/python/rlbot/training/training.py#L167 passes an exception to the grade field in result, which is typed as Grade = Union[Pass, Fail].

Having something print in the terminal would also be a nice enhancement as well as making the function consistent with its definition.

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

      0