IOS-1540 Back out 1df172e4d9df: All errorAndCrash require full labels. IOS-1540_GOOD
authorDirk Zimmermann <dz@pep.security>
Tue, 11 Jun 2019 16:28:31 +0200
branchIOS-1540_GOOD
changeset 9001cb0ed5f550cc
parent 9000 6e4119a0d977
child 9002 a7a4730dcb19
IOS-1540 Back out 1df172e4d9df: All errorAndCrash require full labels.
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,7 +164,7 @@
     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 +                              _ message: StaticString? = nil) {
     1.9          SystemUtils.crash("\(filePath):\(function):\(fileLine) - \(message ?? "no message")")
    1.10      }
    1.11  
    1.12 @@ -203,7 +203,7 @@
    1.13       own method.
    1.14       */
    1.15      public func lostMySelf() {
    1.16 -        errorAndCrash(message: "Lost MySelf")
    1.17 +        errorAndCrash("Lost MySelf")
    1.18      }
    1.19  
    1.20      private let subsystem: String