diff --git a/src/pump/_bitstream.py b/src/pump/_bitstream.py index 8596b77..a9d021f 100644 --- a/src/pump/_bitstream.py +++ b/src/pump/_bitstream.py @@ -232,6 +232,8 @@ def _bitstream_import_to(self, env, dspace, metadatas, bitstreamformatregistry, resp = dspace.put_bitstream(params, data) self._id2uuid[str(b_id)] = resp['id'] self._imported["bitstream"] += 1 + if b['deleted']: + logging.warning(f'Imported bitstream is deleted! UUID: {resp["id"]}') except Exception as e: _logger.error(f'put_bitstream [{b_id}]: failed. Exception: [{str(e)}]')