Skip to content
Permalink
Browse files
fix: provide details on error when failing to evaluate default resour…
…ces (#1430)
  • Loading branch information
johanneskoester committed Feb 26, 2022
1 parent 9c73907 commit 04f39a92f58c21265d859666bd63fe686e1d61f5
Showing 1 changed file with 3 additions and 2 deletions.
@@ -66,11 +66,12 @@ def callable(wildcards, input, attempt, threads, rulename):
):
# Missing input files are handled by the caller
raise WorkflowError(
"Failed to evaluate DefaultResources value "
"Failed to evaluate default resources value "
"'{}'.\n"
" String arguments may need additional "
"quoting. Ex: --default-resources "
"\"tmpdir='/home/user/tmp'\".".format(val)
"\"tmpdir='/home/user/tmp'\".".format(val),
e,
)
raise e
return value

0 comments on commit 04f39a9

Please sign in to comment.