Skip to content

Commit

Permalink
OpenNebula#3098 Fix exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
dann1 committed Mar 20, 2019
1 parent a392eb4 commit 015cd3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vmm_mad/remotes/lxd/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ else
begin
operation = container.start
raise operation if container.status != 'Running'
rescue LXDError => exception
rescue StandardError => exception
# TODO: Improve wait condition
sleep 1 # Wait for LXD to revert non-rootfs disks mountpoint
storage_deleted = container.setup_storage('unmap')
Expand All @@ -85,7 +85,7 @@ else
OpenNebula.log_error 'failed to dismantle container storage'
end

raise LXDError, exception
raise exception
end

end
Expand Down

0 comments on commit 015cd3a

Please sign in to comment.