diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_web/routes.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py index 7d7f3feb..8e07aff0 100644 --- a/python/fatcat_web/routes.py +++ b/python/fatcat_web/routes.py @@ -516,7 +516,7 @@ def stats_page(): stats = get_elastic_entity_stats() stats.update(get_changelog_stats()) except Exception as ae: - app.log.error(e) + app.log.error(ae) abort(503) return render_template('stats.html', stats=stats) @@ -529,7 +529,7 @@ def stats_json(): stats = get_elastic_entity_stats() stats.update(get_changelog_stats()) except Exception as ae: - app.log.error(e) + app.log.error(ae) abort(503) return jsonify(stats) @@ -539,7 +539,7 @@ def container_issnl_stats(issnl): try: stats = get_elastic_container_stats(issnl) except Exception as ae: - app.log.error(e) + app.log.error(ae) abort(503) return jsonify(stats) |