WinUI-Gallery icon indicating copy to clipboard operation
WinUI-Gallery copied to clipboard

Added error handling.

Open MGGSK opened this issue 1 year ago • 1 comments

When an unhandled exception gets thrown the app no longer crashes. Now the user gets a notification with the exception.

Description

  1. Added a event handler to App.UnhandledException.
  2. 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:

image

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)

MGGSK avatar Aug 15 '24 09:08 MGGSK

/azp run

karkarl avatar Sep 27 '24 18:09 karkarl

/azp run

karkarl avatar Dec 06 '24 01:12 karkarl