Add exception message to error output