alibazlamit commented on this pull request.


> +                          .build()
+                  );
+               }
+            }));
+
+            logger.trace(">> volume connected.");
+         } catch (Exception ex) {
+            try {
+               // delete unconnected volume
+               logger.warn(ex, ">> failed to connect volume '%s'. deleting..", 
volumeId);
+               destroyVolume(volumeId, dataCenterId);
+               logger.warn(ex, ">> rolling back server..", serverId);
+               destroyServer(serverId, dataCenterId);
+               throw ex;
+            } catch (Exception ex1) {
+               
java.util.logging.Logger.getLogger(ProfitBricksComputeServiceAdapter.class.getName()).log(Level.SEVERE,
 null, ex1);

Updated to the latest just let me know if you need me to squash this, Thanks 
for the review.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/292

Reply via email to