error messages: prettify output with new lines