feat: serialize last exception for franzbot

This commit is contained in:
goat 2021-08-21 14:31:01 +02:00
parent 1333ea7a72
commit 06b1163a52
No known key found for this signature in database
GPG key ID: F18F057873895461
2 changed files with 38 additions and 3 deletions

View file

@ -196,6 +196,7 @@ namespace Dalamud
{
case Exception ex:
Log.Fatal(ex, "Unhandled exception on AppDomain");
Troubleshooting.LogException(ex, "DalamudUnhandled");
var info = "Further information could not be obtained";
if (ex.TargetSite != null && ex.TargetSite.DeclaringType != null)