IOS-1540 Back out 3284898ce0f8: Using new errorAndCrash. IOS-1540_GOOD
authorDirk Zimmermann <dz@pep.security>
Tue, 11 Jun 2019 16:28:31 +0200
branchIOS-1540_GOOD
changeset 8996a98d077767ff
parent 8995 678ed340af38
child 8997 392eeff6f5ec
IOS-1540 Back out 3284898ce0f8: Using new errorAndCrash.
pEpForiOS/HTMLParser/Axt/HtmlToMarkdownSaxParser.swift
     1.1 --- a/pEpForiOS/HTMLParser/Axt/HtmlToMarkdownSaxParser.swift	Tue Jun 11 16:28:31 2019 +0200
     1.2 +++ b/pEpForiOS/HTMLParser/Axt/HtmlToMarkdownSaxParser.swift	Tue Jun 11 16:28:31 2019 +0200
     1.3 @@ -7,8 +7,6 @@
     1.4  //
     1.5  
     1.6  import Foundation
     1.7 -import os.log
     1.8 -
     1.9  import pEpIOSToolbox
    1.10  import MessageModel
    1.11  
    1.12 @@ -64,6 +62,6 @@
    1.13      }
    1.14  
    1.15      func parser(_ parser: AXHTMLParser, parseErrorOccurred parseError: Error) {
    1.16 -        Log.shared.errorAndCrash(error: parseError)
    1.17 +        Log.shared.errorAndCrash("%@", parseError.localizedDescription)
    1.18      }
    1.19  }