Skip to content

Commit

Permalink
Update to enable exceptions from dashboard generation to be better sh…
Browse files Browse the repository at this point in the history
…own.
  • Loading branch information
CraigHawker committed Nov 14, 2023
1 parent c792a6e commit ae8b8e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public override string GetDashboardContent(IConfigurationRequestContext context)
var exception = new Exception("Could not create status dashboard", e);
FormattableString message = $"Could not create status dashboard.";
this.Logger?.Error(e, message);
return new ExceptionDashboardPanel(exception, $"Could not create status dashboard")?.ToString();
return new ExceptionDashboardPanel(exception, $"Could not create status dashboard")?.ToXmlString();
}

// Add all content in turn.
Expand Down

0 comments on commit ae8b8e0

Please sign in to comment.