We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ab8e45 commit e25835aCopy full SHA for e25835a
openhtf/plugs/__init__.py
@@ -301,7 +301,12 @@ def initialize_plugs(
301
self.tear_down_plugs()
302
raise
303
self.update_plug(plug_type, plug_instance)
304
- plug_instance.setUp()
+ try:
305
+ plug_instance.setUp()
306
+ except Exception: # pylint: disable=broad-except
307
+ plug_logger.exception('Exception setting up plug type %s', plug_type)
308
+ self.tear_down_plugs()
309
+ raise
310
311
def get_plug_by_class_path(self,
312
plug_name: Text) -> Optional[base_plugs.BasePlug]:
0 commit comments