Added error reporting in soft error handler

This commit is contained in:
Marcel Baumgartner 2024-01-16 15:02:15 +01:00
parent becc67c46b
commit e9d3ab5307

View file

@ -65,6 +65,10 @@ else
{
Exception = exception;
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();