Skip to content
Snippets Groups Projects
Commit f73a3105 authored by Teemu Autto's avatar Teemu Autto
Browse files

Debug sentry entrypoint for live-demo.

parent 603ccb1b
No related branches found
No related tags found
No related merge requests found
Pipeline #13577 passed
......@@ -55,6 +55,10 @@ def create_app(config: Optional[Dict] = None) -> Flask:
# Initialize the database connection.
init_db(flask_app)
@flask_app.route('/debug-sentry')
def trigger_error():
division_by_zero = 1 / 0
# a simple page that says hello
@flask_app.route('/hello')
def hello():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment