Commit 0e75f58c authored by baberabb's avatar baberabb
Browse files

raise exception if dependencies not met

parent 78a33749
...@@ -181,6 +181,9 @@ def is_equiv(x1: str, x2: str) -> bool: ...@@ -181,6 +181,9 @@ def is_equiv(x1: str, x2: str) -> bool:
except TimeoutError: except TimeoutError:
eval_logger.debug(f"Timed out comparing {x1} and {x2}") eval_logger.debug(f"Timed out comparing {x1} and {x2}")
return False return False
except ImportError as e:
eval_logger.error(e)
raise
except Exception as e: except Exception as e:
eval_logger.debug(f"Failed comparing {x1} and {x2} with {e}") eval_logger.debug(f"Failed comparing {x1} and {x2} with {e}")
return False return False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment