Skip to content

Error in Task that is wrapped as IResult just quietly dies on exception #862

@AndersMalmgren

Description

@AndersMalmgren

Thansk to this code in TaskResult class the Coroutine just queitly dies when exception occours in Task.

        protected virtual void OnCompleted(Task task)
        {
            Completed(this, new ResultCompletionEventArgs { WasCancelled = task.IsCanceled, Error = task.Exception });
        }

OnUnhandledException in bootstrapper isnt called either

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