WinUI-Gallery
WinUI-Gallery copied to clipboard
Added error handling.
When an unhandled exception gets thrown the app no longer crashes. Now the user gets a notification with the exception.
Description
- Added a event handler to App.UnhandledException.
- Written code to create and show the notification.
Motivation and Context
The app crashes a lot.
How Has This Been Tested?
While testing I added a button that throws an exception to test my code.
Screenshots:
Types of changes
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
/azp run
/azp run