Skip to content

Commit 36d0bfd

Browse files
committed
Merge pull request apache#1018 from DaanHoogland/CID-1338016
CID 1338016: multi catch instead of pokemon * pr/1018: CID 1338016: multi catch instead of pokemon Signed-off-by: Remi Bergsma <github@remi.nl>
2 parents a6b6f41 + 2fb01b6 commit 36d0bfd

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)