Skip to content

Commit 25063a3

Browse files
authored
Fix: Fixed ArgumentNullException in AppLifecycleHelper.HandleAppUnhandledException (#15696)
1 parent 097c492 commit 25063a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Helpers/Application/AppLifecycleHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public static void HandleAppUnhandledException(Exception? ex, bool showToastNoti
310310

311311
// Save the current tab list in case it was overwriten by another instance
312312
SaveSessionTabs();
313-
App.Logger.LogError(ex, ex?.Message ?? "An unhandled error occurred.");
313+
App.Logger?.LogError(ex, ex?.Message ?? "An unhandled error occurred.");
314314

315315
if (!showToastNotification)
316316
return;

0 commit comments

Comments
 (0)