Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2248,15 +2248,16 @@ private Answer attachVolume(Command cmd, DiskTO disk, boolean isAttach, boolean
String msg = "";

if (isAttach) {
msg += "Failed to attach volume: " + e.getMessage();
msg += "Failed to attach volume: ";
}
else {
msg += "Failed to detach volume: " + e.getMessage();
msg += "Failed to detach volume: ";
}

s_logger.error(msg, e);
s_logger.error(msg + e.getMessage(), e);

return new AttachAnswer(msg);
// Sending empty error message - too many duplicate errors in UI
return new AttachAnswer("");
}
}

Expand Down