[#224] Escape exception messages and traces
Merge pull request #224