From 2897213d7f7f4f6bd43478c26b112806d8c27ab8 Mon Sep 17 00:00:00 2001 From: Adam Saleh Date: Aug 17 2023 10:06:05 +0000 Subject: Added wrapper to turn error to exception in duffy runner. --- diff --git a/t_functional_duffy_runner/src/__main__.py b/t_functional_duffy_runner/src/__main__.py index bf295e6..ff2701d 100644 --- a/t_functional_duffy_runner/src/__main__.py +++ b/t_functional_duffy_runner/src/__main__.py @@ -40,7 +40,7 @@ class DuffyWrapper: self.last_session = session return session else: - raise session + raise Exception(repr(session)) class TmuxWrapper: def __init__(self, host, session='default-session', private_key=None, **rest):