From da7e59261711cb850f9fe12265a2f613402394f0 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Thu, 12 May 2022 10:23:48 +0100 Subject: [PATCH] Partially revert a6d9b067 --- Lib/gftools/builder/__init__.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Lib/gftools/builder/__init__.py b/Lib/gftools/builder/__init__.py index 32e8aea0f..58adebad3 100644 --- a/Lib/gftools/builder/__init__.py +++ b/Lib/gftools/builder/__init__.py @@ -291,13 +291,10 @@ def build_variable(self): args["output_path"] = os.path.join( self.config["vfDir"], sourcebase + "-VF.ttf", ) - try: - output_files = self.run_fontmake(source, args) - newname = self.rename_variable(output_files[0]) - ttFont = TTFont(newname) - ttFonts.append(ttFont) - except Exception as e: - self.logger.error("Could not build variable font: %s" % e) + output_files = self.run_fontmake(source, args) + newname = self.rename_variable(output_files[0]) + ttFont = TTFont(newname) + ttFonts.append(ttFont) if not ttFonts: return