diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-10 13:26:06 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-10 13:26:06 +0530 |
commit | 85555704cee850f2145ad5b2bc3afe66bfbd5e82 (patch) | |
tree | 6043c8841562de5f32204712f2549b62ac0eb969 /app/views.py | |
parent | 84f602230b2ff6a3b9acabdf3c94be5810f64961 (diff) |
added CI badge and added sentry tracking
Diffstat (limited to 'app/views.py')
-rw-r--r-- | app/views.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views.py b/app/views.py index 1cbc3ec..ef3c2ba 100644 --- a/app/views.py +++ b/app/views.py @@ -387,6 +387,9 @@ def send_text_file(file_name): file_dot_text = file_name + '.txt' return app.send_static_file(file_dot_text) +@app.route('/debug-sentry') +def trigger_error(): + division_by_zero = 1 / 0 @app.after_request def add_header(response): |