Skip to content

Commit

Permalink
fix for #427
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed Nov 16, 2023
1 parent b032668 commit 2675eef
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions looper/looper.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,14 @@ def __call__(self, args, rerun=False, **compute_kwargs):
try:
validate_sample(self.prj, sample.sample_name, schema_file)
except EidoValidationError as e:
_LOGGER.error(f"Short-circuiting due to validation error: {e}")
self.debug[
DEBUG_EIDO_VALIDATION
] = f"Short-circuiting due to validation error: {e}"
_LOGGER.error(
f"Short-circuiting due to validation error!\nSchema file: "
f"{schema_file}\nError: {e}\n{list(e.errors_by_type.keys())}"
)
self.debug[DEBUG_EIDO_VALIDATION] = (
f"Short-circuiting due to validation error!\nSchema file: "
f"{schema_file}\nError: {e}\n{list(e.errors_by_type.keys())}"
)
return False
except RemoteYAMLError:
_LOGGER.warning(
Expand Down

0 comments on commit 2675eef

Please sign in to comment.