mirror of https://github.com/apache/cloudstack.git
bug 7986: should be fixed by 6e6e8ff876, this patch only remove some unneccesary backtrace
status 7986: resolved fixed
This commit is contained in:
parent
3406f4d5c0
commit
621f893f12
|
|
@ -4340,13 +4340,9 @@ public abstract class CitrixResourceBase implements ServerResource {
|
|||
protected VDI getVDIbyUuid(Connection conn, String uuid) {
|
||||
try {
|
||||
return VDI.getByUuid(conn, uuid);
|
||||
} catch (XenAPIException e) {
|
||||
String msg = "VDI getByUuid for uuid: " + uuid + " failed due to " + e.toString();
|
||||
s_logger.warn(msg, e);
|
||||
throw new CloudRuntimeException(msg, e);
|
||||
} catch (Exception e) {
|
||||
String msg = "VDI getByUuid for uuid: " + uuid + " failed due to " + e.getMessage();
|
||||
s_logger.warn(msg, e);
|
||||
String msg = "Catch Exception " + e.getClass().getName() + " :VDI getByUuid for uuid: " + uuid + " failed due to " + e.toString();
|
||||
s_logger.debug(msg);
|
||||
throw new CloudRuntimeException(msg, e);
|
||||
}
|
||||
}
|
||||
|
|
@ -4541,8 +4537,6 @@ public abstract class CitrixResourceBase implements ServerResource {
|
|||
try {
|
||||
vdi = getVDIbyUuid(conn, volumeUUID);
|
||||
} catch (Exception e) {
|
||||
String msg = "getVDIbyUuid for " + volumeUUID + " failed due to " + e.toString();
|
||||
s_logger.warn(msg);
|
||||
return new Answer(cmd, true, "Success");
|
||||
}
|
||||
Set<VBD> vbds = null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue