Add more details to notification loading crash

This commit is contained in:
Shadowfacts 2024-07-24 20:48:01 -07:00
parent 3dd0f3a154
commit f7d4737782
1 changed files with 1 additions and 1 deletions

View File

@ -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 ?? "<nil>")")
}
navigationController.viewControllers[navigationController.viewControllers.count - 1] = vc
}