Skip to content

Commit 7652514

Browse files
committed
debug
1 parent 8281a66 commit 7652514

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/plf/_pipeline.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ def new(
298298
self.workflow.new(args['args'])
299299
except:
300300
traceback.print_exc()
301+
302+
raise
301303

302304
self.__db.execute(
303305
"INSERT INTO ppls (pplid, args_hash) VALUES (?, ?)",

src/plf/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,10 @@ def setup(self, args: Dict[str, Any]) -> Optional[Any]:
146146
raise AttributeError(
147147
f"Component '{self.loc}' does not implement '_setup'"
148148
) from exc
149-
# raise ValueError(f"Arguments {args} are incompatible with '{self.loc}'")
149+
150150
traceback.print_exc()
151+
raise ValueError(f"Arguments {args} are incompatible with '{self.loc}'")
152+
151153

152154
@abstractmethod
153155
def _setup(self, args: Dict[str, Any],P=None) -> Optional[Any]:

0 commit comments

Comments
 (0)