Skip to content

Commit

Permalink
Improve error reporting of exception in Task
Browse files Browse the repository at this point in the history
  • Loading branch information
timokoessler committed Oct 23, 2024
1 parent e9cb2f0 commit 107c731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Guard.WPF/Core/TokenManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ await Task.Run(() =>
catch (Exception e)
{
Log.Logger.Error("Error loading tokens: {0} {1}", e.Message, e.StackTrace);
throw new Exception("Error loading tokens");
throw new Exception($"Error loading tokens: {e.Message} {e.StackTrace}");
}
});
}
Expand Down

0 comments on commit 107c731

Please sign in to comment.