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:
abhishek 2011-01-13 13:22:54 -08:00
parent 9f9b838c41
commit 5f06654b38
1 changed files with 6 additions and 1 deletions

View File

@ -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;
}