Skip to content

Commit

Permalink
feat: fail with an error if snakemake cannot write job metadata. (#1273)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Nov 23, 2021
1 parent d0a7bf2 commit cd968cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakemake/jobs.py
Expand Up @@ -1029,7 +1029,7 @@ def postprocess(
self, keep_metadata=keep_metadata
)
except IOError as e:
logger.warning(
raise WorkflowError(
"Error recording metadata for finished job "
"({}). Please ensure write permissions for the "
"directory {}".format(e, self.dag.workflow.persistence.path)
Expand Down

0 comments on commit cd968cd

Please sign in to comment.