Skip to content

Error Handling issue #4

@abdollahpour

Description

@abdollahpour

Just one tip about error handling, if you dispatch the request like this:

    if (exchange.isInIoThread()) {
        exchange.dispatch(this);
        return;
    }

You are not able to handle the error by using the outer handler, one simple workaround is:

    if (exchange.isInIoThread()) {
        exchange.dispatch(new ErrorHandler(this));
        return;
    }

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