         SpotijackSessionManager.shared.establishSession { [weak self] sessionResult in
             switch sessionResult {
             case .fail(let error):
-                self?.presentError(error)
+                self?.showError(error, block: nil)
             case .ok(let session):
                 if session.isSpotijacking {
                     session.stopSpotijackSession()

    ///
    /// - parameter error: The error to present.
    /// - parameter block: A block to execute after the error is dismissed.
    private func presentError(_ error: Error, block: ((NSApplication.ModalResponse) -> Void)?) {
        guard let window = window else {
            return
        }

                    do {
                        try session.startSpotijackSession(config: Preferences.shared.recordingConfiguration)
                    } catch (let error) {
                        self?.showError(error, block: nil)
                    }
                }
            }
