From 2107f6de3475f53f0b3501e9e63022d83910ab88 Mon Sep 17 00:00:00 2001
From: Filippo Cremonese <filippocremonese@rev.ng>
Date: Mon, 12 Oct 2020 14:30:37 +0200
Subject: [PATCH] Do not repeat exception info twice

---
 orchestra/executor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/orchestra/executor.py b/orchestra/executor.py
index f53cc48..444b04e 100644
--- a/orchestra/executor.py
+++ b/orchestra/executor.py
@@ -36,7 +36,7 @@ class Executor:
                     self._schedule_next()
 
         if self._errors_occurred:
-            raise Exception("Errors occurred", self._errors_occurred)
+            raise Exception("Errors occurred")
 
     def _collect_actions(self, action: Action, force=False):
         if not force and action.is_satisfied(recursively=True):
-- 
GitLab