Skip to content

Commit

Permalink
Additional usage of ExceptionDashboardPanel.
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigHawker committed Nov 14, 2023
1 parent ae8b8e0 commit edaaafe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public override string GetDashboardContent(IConfigurationRequestContext context)
var exception = new Exception("Could not render dashboard to a string", e);
FormattableString message = $"Could not render dashboard to a string.";
this.Logger?.Error(e, message);
return new ExceptionDashboardPanel(exception, $"Could not render dashboard")?.ToString();
return new ExceptionDashboardPanel(exception, $"Could not render dashboard")?.ToXmlString();
}
}

Expand Down

0 comments on commit edaaafe

Please sign in to comment.