Skip to content

Commit 2fb01b6

Browse files
committed
CID 1338016: multi catch instead of pokemon
1 parent ea7c2d9 commit 2fb01b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/cloud/storage/VolumeApiServiceImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@ public boolean deleteVolume(long volumeId, Account caller) throws ConcurrentOper
12551255
volOnCache.delete();
12561256
}
12571257

1258-
} catch (Exception e) {
1258+
} catch (InterruptedException | ExecutionException | NoTransitionException e) {
12591259
s_logger.warn("Failed to expunge volume:", e);
12601260
return false;
12611261
}

0 commit comments

Comments
 (0)