Skip to content

Commit 6597810

Browse files
committed
Handle unsupported notification AppInfo access
1 parent 05fe517 commit 6597810

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WindowsNotificationListener.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ private static NotificationDetails ExtractDetails(UserNotification notification)
255255

256256
return new NotificationDetails(title, message, sourceAppName, sourceAppUserModelId);
257257
}
258-
catch (Exception ex) when (ex is COMException or InvalidOperationException or NullReferenceException)
258+
catch (Exception ex) when (ex is COMException or InvalidOperationException or NotImplementedException or NullReferenceException)
259259
{
260260
return new NotificationDetails(
261261
"Unsupported Windows notification skipped",

0 commit comments

Comments
 (0)