IOS-1540 Back out e84d96c6455e: Using new errorAndCrash. IOS-1540_GOOD
authorDirk Zimmermann <dz@pep.security>
Tue, 11 Jun 2019 16:28:31 +0200
branchIOS-1540_GOOD
changeset 8991326f7f341c82
parent 8990 a4ee3ef5ba1e
child 8992 88e45a68e6b5
IOS-1540 Back out e84d96c6455e: Using new errorAndCrash.
pEpForiOS/Util/Extensions/ConnectionTransport+AccountSettings.swift
     1.1 --- a/pEpForiOS/Util/Extensions/ConnectionTransport+AccountSettings.swift	Tue Jun 11 16:28:31 2019 +0200
     1.2 +++ b/pEpForiOS/Util/Extensions/ConnectionTransport+AccountSettings.swift	Tue Jun 11 16:28:31 2019 +0200
     1.3 @@ -7,7 +7,6 @@
     1.4  //
     1.5  
     1.6  import Foundation
     1.7 -import os.log
     1.8  
     1.9  import pEpIOSToolbox
    1.10  import PantomimeFramework
    1.11 @@ -19,10 +18,8 @@
    1.12          case .startTLS: self = .startTLS
    1.13          case .TLS: self = .TLS
    1.14          case .unknown:
    1.15 -            os_log("Unsupported LAS transport: %d",
    1.16 -                   type: .error,
    1.17 -                   accountSettingsTransport.rawValue)
    1.18 -            Log.shared.errorAndCrash()
    1.19 +            Log.shared.errorAndCrash(
    1.20 +                "Unsupported LAS transport: %d", accountSettingsTransport.rawValue)
    1.21              self = .plain
    1.22          }
    1.23      }