diff --git a/hyperglass/wsgi.py b/hyperglass/wsgi.py index 1d17989..716aafd 100644 --- a/hyperglass/wsgi.py +++ b/hyperglass/wsgi.py @@ -9,6 +9,9 @@ hyperglass_root = os.path.dirname(hyperglass.__file__) static = os.path.join(hyperglass_root, "static") if __name__ == "__main__": - hyperglass.render.css.renderTemplate() - hyperglass.render.html.renderTemplate() - application.run(static_folder=static) + try: + hyperglass.render.css.renderTemplate() + hyperglass.render.html.renderTemplate() + application.run(static_folder=static) + except: + raise