Fix bug in MultilineSysLogHandler when logging exceptions