Write stacktrace to xml output if is present