Add more details to notification loading crash
This commit is contained in:
parent
3dd0f3a154
commit
f7d4737782
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue