Skip to content

Commit

Permalink
removing the error post if a directory to remove doesnt exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed Feb 26, 2024
1 parent a9bd38b commit 65b7b2c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/staging/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,6 @@ def final_staging(self, run_id: str, run_dir: str, staging_type: StagingType) ->

# move the source directory to the dest
shutil.move(run_dir, dest_dir)
else:
# set a failure return code for no run directory
ret_val = ReturnCodes.ERROR_NO_RUN_DIR
except Exception:
# declare ready
self.logger.exception('Exception: The iRODS K8s "%s" final staging request for run directory %s failed.', staging_type, run_dir)
Expand Down

0 comments on commit 65b7b2c

Please sign in to comment.