Skip to content

Commit

Permalink
refactor: SvgImageException message referencing the Source as well as…
Browse files Browse the repository at this point in the history
… the ResourceId, in case the ResourceId is unavailable.
  • Loading branch information
bnoffer committed Feb 16, 2023
1 parent 0d93aee commit 305a40b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XamExtensionsSvg/SvgImage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private void CanvasViewOnPaintSurface(object sender, SKPaintSurfaceEventArgs arg
}
catch (Exception ex)
{
throw new SvgImageException($"Error while trying to load Resource Id {resourceId}.", ex);
throw new SvgImageException($"Error while trying to load Resource {resourceId}/{Source}.", ex);
}
}

Expand Down

0 comments on commit 305a40b

Please sign in to comment.