diff --git a/snakemake/executors/__init__.py b/snakemake/executors/__init__.py index a528df81f..2de456f8a 100644 --- a/snakemake/executors/__init__.py +++ b/snakemake/executors/__init__.py @@ -674,7 +674,7 @@ def _callback(self, job, callback, error_callback, future): error_callback(job) except (Exception, BaseException) as ex: self.print_job_error(job) - if self.workflow.verbose or (job.is_run and not job.is_group()): + if self.workflow.verbose or (not job.is_group() and job.is_run): print_exception(ex, self.workflow.linemaps) error_callback(job)