Skip to content

Convert exc_to_msg to a class decorator #2840

@n1mus

Description

@n1mus

Currently exc_to_msg is a context manager that must be invoked before calling any JobComm code in order to transform all exceptions into comm errors. Converting it into a class decorator for JobComm would simplify all invocations of JobComm code and remove margins for error forgetting to invoke the context manager.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions