Fixed a bug in the exception template causing it to insert a new line