dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.63k stars 1.62k forks source link

Improve error logging for failed resizetizering #22064

Closed mattleibow closed 1 week ago

mattleibow commented 2 weeks ago

Description of Change

We noticed that when there is an invalid SVG file, the error messages are poor quality and just crash the whole system.

This PR is making sure to log errors instead of throwing exceptions, and also we added a log for a case where we know we are not going to be able to draw the right thing but we can see it in the binlog as opposed to an ambiguous message.

Eilon commented 2 weeks ago

Looks like the CI failures were due to the Tap issue that was fixed recently, so I restarted them.

PureWeen commented 2 weeks ago

/rebase