Skip to content

Commit

Permalink
Merge pull request #501 from codecat/feature/designer-error-details
Browse files Browse the repository at this point in the history
Added error details for exception stack trace
  • Loading branch information
maxkatz6 authored Oct 30, 2024
2 parents 6f60430 + 80c2c75 commit 3adda0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AvaloniaVS.Shared/Services/PreviewerProcess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,10 @@ await SendAsync(new FrameReceivedMessage
if (exception != null)
{
_log.Error(new XamlException(exception.Message, null, exception.LineNumber ?? 0, exception.LinePosition ?? 0), "UpdateXamlResult error");
if (!string.IsNullOrWhiteSpace(update.Error))
{
_log.Error("UpdateXamlResult error details: {0}", update.Error);
}
}

break;
Expand Down

0 comments on commit 3adda0f

Please sign in to comment.