From f7d473778238b297850abf1d7a88fce32ac41ce2 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 24 Jul 2024 20:48:01 -0700 Subject: [PATCH] Add more details to notification loading crash --- .../Notifications/NotificationLoadingViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tusker/Screens/Notifications/NotificationLoadingViewController.swift b/Tusker/Screens/Notifications/NotificationLoadingViewController.swift index 2bdf976778..d1c59acbe7 100644 --- a/Tusker/Screens/Notifications/NotificationLoadingViewController.swift +++ b/Tusker/Screens/Notifications/NotificationLoadingViewController.swift @@ -95,7 +95,7 @@ class NotificationLoadingViewController: UIViewController { return } guard let navigationController else { - fatalError("Don't know how to show notification VC outside of navigation controller") + fatalError("Don't know how to show notification VC outside of navigation controller: parent is \(parent?.description ?? "")") } navigationController.viewControllers[navigationController.viewControllers.count - 1] = vc }