Skip to content

Commit

Permalink
Automatically recover from Connect external errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tagavari committed Sep 20, 2022
1 parent 4ef5c56 commit d9443a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AirMessage/Connection/Connect/DataProxyConnect.swift
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ class DataProxyConnect: DataProxy {

//Get if we can automatically recover from this error
var isRecoverable = false
if localError == .errorInternet {
if localError == .errorInternet || localError == .errorExternal {
let isSetupMode = DispatchQueue.main.sync {
//Run on main thread to avoid races
(NSApplication.shared.delegate as! AppDelegate).isSetupMode
Expand Down

0 comments on commit d9443a9

Please sign in to comment.