Skip to content

Commit

Permalink
AsyncJob reports 'Successful' even if RevertToVMSnapshot operation fa…
Browse files Browse the repository at this point in the history
…ils.

This closes #484
  • Loading branch information
sanjaytripathi committed Jun 19, 2015
1 parent bcfb824 commit 92a9ee0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ private UserVm orchestrateRevertToVMSnapshot(Long vmSnapshotId) throws Insuffici
return userVm;
} catch (Exception e) {
s_logger.debug("Failed to revert vmsnapshot: " + vmSnapshotId, e);
return null;
throw new CloudRuntimeException(e.getMessage());
}
}

Expand Down

0 comments on commit 92a9ee0

Please sign in to comment.