Removed exiting pypo if error occurs during cloud storage downloads
This commit is contained in:
parent
02ea553f43
commit
6545828dc7
|
@ -26,7 +26,7 @@ class CloudStorageDownloader:
|
||||||
object_name=obj_name)
|
object_name=obj_name)
|
||||||
except ObjectDoesNotExistError:
|
except ObjectDoesNotExistError:
|
||||||
logging.info("Could not find object: %s" % obj_name)
|
logging.info("Could not find object: %s" % obj_name)
|
||||||
exit(-1)
|
|
||||||
logging.info('Downloading: %s to %s' % (cloud_obj.name, dst))
|
logging.info('Downloading: %s to %s' % (cloud_obj.name, dst))
|
||||||
cloud_obj.download(destination_path=dst)
|
cloud_obj.download(destination_path=dst)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue