Skip to content

Exception in OnActivateAsync is not handled properly #745

Open
@speedyalibaba

Description

@speedyalibaba

I'm throwing an Exception in the OnActivateAsync method in my ShellViewModel.

image

But it's not handled properly. After some time I get this Exception:

"A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Exception of type 'System.Exception' was thrown.)"

Shouldn't this Exception been handled by one of these methods?
image

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