IOS-1540 Better error output for errorAndCrash. IOS-1540_GOOD
authorDirk Zimmermann <dz@pep.security>
Tue, 11 Jun 2019 16:28:31 +0200
branchIOS-1540_GOOD
changeset 9027919fcd1cda19
parent 9026 30c7f02bdc5f
child 9028 fd7e84e7e135
IOS-1540 Better error output for 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 @@ -168,7 +168,7 @@
     1.4          os_log("*** errorAndCrash: %@ (%@:%d %@)",
     1.5                 log: osLogger as! OSLog,
     1.6                 type: .fault,
     1.7 -               "\(error)",
     1.8 +               error as CVarArg,
     1.9                 filePath,
    1.10                 fileLine,
    1.11                 function)