[Trivial] Fix wrong usage of Task.FromException
MODIFY
WalletWasabi.Gui/CommandLine/CrashReportCommand.cs
WalletWasabi.Gui/CommandLine/CrashReportCommand.cs
@@ -34,7 +34,7 @@ namespace WalletWasabi.Gui.CommandLine
}
catch (Exception ex)
{
- Task.FromException(ex);
+ return Task.FromException<int>(ex);
}
return Task.FromResult(0);

[Trivial] Fix wrong usage of Task.FromException