diff --git a/PyTeX/build/pytex_file/pytex_file.py b/PyTeX/build/pytex_file/pytex_file.py index 110b848..2eabb7f 100644 --- a/PyTeX/build/pytex_file/pytex_file.py +++ b/PyTeX/build/pytex_file/pytex_file.py @@ -32,7 +32,10 @@ class PyTeXSourceFile: return files def format(self) -> Optional[List[Tuple[RelativePath, Dict]]]: - configs = self._formatter.format(GlobalPyTeXConfig.target_root()) + try: + configs = self._formatter.format(GlobalPyTeXConfig.target_root()) + except Exception as e: + raise e # TODO configs = [ (self._relative_path.with_name(filename), config) for [filename, config] in configs