bug 9470: line breaks not escaped for events

status: resolved fixed
This commit is contained in:
Abhinandan Prateek 2011-04-21 12:20:50 +05:30
parent 22ee7117f5
commit ea14ff5f6c

View File

@ -2716,7 +2716,7 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
if (task.getStatus(c) == Types.TaskStatusType.SUCCESS) {
return;
} else {
String msg = "Task failed! Task record:\n" + task.getRecord(c);
String msg = "Task failed! Task record: " + task.getRecord(c);
s_logger.warn(msg);
task.cancel(c);
throw new Types.BadAsyncResult(msg);