diff --git a/app.fcgi b/app.fcgi index d78099d..e1f0b53 100755 --- a/app.fcgi +++ b/app.fcgi @@ -88,10 +88,12 @@ def settings(): return render_template("settings.mako", **kwargs) @app.route("/api") +@catch_errors def api(): return render_template("api.mako", help=True) @app.route("/api.json") +@catch_errors def api_json(): if not request.args: return render_template("api.mako", help=True)