Skip to content

Commit

Permalink
CA-130987: Forward any exceptions thrown inside _snapshot
Browse files Browse the repository at this point in the history
Signed-off-by: Vineeth Raveendran <vineeth.thampi@citrix.com>
Reviewed-by: Chandrika Srinivasan <chandrika.srinivasan@citrix.com>

GitHub: closes #169 on xapi-project/sm
  • Loading branch information
Vineeth Raveendran authored and chandrikas committed Jun 10, 2014
1 parent 11eb80e commit 6d7cf76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/LVHDSR.py
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ def _do_snapshot(self, sr_uuid, vdi_uuid, snapType, cloneOp=False, secondary=Non
except Exception, e2:
util.SMlog('WARNING: failed to clean up failed snapshot: '
'%s (error ignored)' % e2)
raise e1
raise e1
blktap2.VDI.tap_unpause(self.session, sr_uuid, vdi_uuid, secondary)
return snapResult

Expand Down

0 comments on commit 6d7cf76

Please sign in to comment.