IOS-1540 Back out 5c6b5b6c49e2: Optional message in errorAndCrash. IOS-1540_GOOD
authorDirk Zimmermann <dz@pep.security>
Tue, 11 Jun 2019 16:28:31 +0200
branchIOS-1540_GOOD
changeset 9003f06312476bba
parent 9002 a7a4730dcb19
child 9004 eac1ef2be8d0
IOS-1540 Back out 5c6b5b6c49e2: Optional message in errorAndCrash.
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 @@ -164,8 +164,8 @@
     1.4      public func errorAndCrash(function: String = #function,
     1.5                                filePath: String = #file,
     1.6                                fileLine: Int = #line,
     1.7 -                              _ message: StaticString? = nil) {
     1.8 -        SystemUtils.crash("\(filePath):\(function):\(fileLine) - \(message ?? "no message")")
     1.9 +                              _ message: StaticString) {
    1.10 +        SystemUtils.crash("\(filePath):\(function):\(fileLine) - \(message)")
    1.11      }
    1.12  
    1.13      public func errorAndCrash(function: String = #function,