Caliburn-Micro / Caliburn.Micro

A small, yet powerful framework, designed for building applications across all XAML platforms. Its strong support for MV* patterns will enable you to build your solution quickly, without the need to sacrifice code quality or testability.
http://caliburnmicro.com/
MIT License
2.79k stars 775 forks source link

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

Open AndersMalmgren opened 1 year ago

AndersMalmgren commented 1 year ago

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