app/app/monitor/views.py
2019-12-28 14:20:10 +01:00

13 lines
263 B
Python

from app.config import SHA1
from app.monitor.base import monitor_bp
@monitor_bp.route("/git")
def git_sha1():
return SHA1
@monitor_bp.route("/exception")
def test_exception():
raise Exception("to make sure sentry works")
return "never reach here"