IOS-1540 Back out 5ebac629d639: Making errorAndCrash accept pure error. IOS-1540_GOOD
authorDirk Zimmermann <dz@pep.security>
Tue, 11 Jun 2019 16:28:31 +0200
branchIOS-1540_GOOD
changeset 90122351c0bde73b
parent 9011 c4b7458e1f73
child 9013 9701654574df
IOS-1540 Back out 5ebac629d639: Making errorAndCrash accept pure error.
Submodules/pEpIOSToolbox/pEpIOSToolbox/Other/Logger.swift
     1.1 --- a/Submodules/pEpIOSToolbox/pEpIOSToolbox/Other/Logger.swift	Tue Jun 11 16:28:31 2019 +0200
     1.2 +++ b/Submodules/pEpIOSToolbox/pEpIOSToolbox/Other/Logger.swift	Tue Jun 11 16:28:31 2019 +0200
     1.3 @@ -170,15 +170,6 @@
     1.4          SystemUtils.crash(msgString)
     1.5      }
     1.6  
     1.7 -    public func errorAndCrash(function: String = #function,
     1.8 -                              filePath: String = #file,
     1.9 -                              fileLine: Int = #line,
    1.10 -                              _ error: Error) {
    1.11 -        let msgString = "\(error)"
    1.12 -        os_log("%{public}@ %{public}@ (%{public}@):%d", msgString, function, filePath, fileLine)
    1.13 -        SystemUtils.crash(msgString)
    1.14 -    }
    1.15 -
    1.16      /**
    1.17       Logs an error.
    1.18       */