Skip to content
Snippets Groups Projects

Resolve "Download hangs on corrupted SAFE"

Merged Luc Hermitte requested to merge 166-download-hangs-on-corrupted-safe into release-1.1.0
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -69,11 +69,12 @@ class CorruptedDataSAFEError(Error):
f"Product {product!r} appears to be corrupted ({extra}).\nPlease remove the raw data for {product!r} SAFE file.",
*args, **kwargs)
self.product = product
self.details = details
def __reduce__(self):
# __reduce__ is required as this error will be pickled from subprocess
# when transported in the :class:`Outcome` object.
return (CorruptedDataSAFEError, (self.product, ))
return (CorruptedDataSAFEError, (self.product, self.details, ))
class DownloadS1FileError(Error):
Loading