mirror of https://github.com/apache/cloudstack.git
bug 7960: the npe should be fixed with my previous fix. adding better logging and some exception handling
status 7960: resolved fixed
This commit is contained in:
parent
9f9b838c41
commit
5f06654b38
|
|
@ -2441,7 +2441,12 @@ public class StorageManagerImpl implements StorageManager, StorageService, Manag
|
|||
destroyVolume(volume);
|
||||
}
|
||||
|
||||
expungeVolume(volume);
|
||||
try {
|
||||
expungeVolume(volume);
|
||||
} catch (Exception e) {
|
||||
s_logger.warn("Failed to expunge volume:"+e);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue