Created
January 8, 2015 02:14
-
-
Save tonicmuroq/1cdd9646046ae10c2932 to your computer and use it in GitHub Desktop.
test_sentry.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
from raven.contrib.flask import Sentry | |
app = Flask(__name__) | |
sentry = Sentry(dsn='') | |
sentry.init_app(app) | |
@app.route('/') | |
def index(): | |
1/0 | |
return 'sentry' | |
if __name__ == '__main__': | |
app.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment