Added error reporting in soft error handler
This commit is contained in:
parent
becc67c46b
commit
e9d3ab5307
1 changed files with 4 additions and 0 deletions
|
@ -65,6 +65,10 @@ else
|
||||||
{
|
{
|
||||||
Exception = exception;
|
Exception = exception;
|
||||||
Crashed = true;
|
Crashed = true;
|
||||||
|
|
||||||
|
var username = IdentityService.IsSignedIn ? IdentityService.CurrentUser.Username : "Guest";
|
||||||
|
Logger.Warn($"A crash occured in the view of the user '{username}'");
|
||||||
|
Logger.Warn(exception);
|
||||||
}
|
}
|
||||||
|
|
||||||
Recover();
|
Recover();
|
||||||
|
|
Loading…
Reference in a new issue