after testing with certification turned on (against local repo)
convert line delimiters (before git reported that the entire file had changed)
added test
include exception message in output
Merge pull request #1252 from jay-hodgson/SWC-1331

Swc-1331