Skip to content

Instantly share code, notes, and snippets.

@tonicmuroq
Created January 8, 2015 02:14
Show Gist options
  • Save tonicmuroq/1cdd9646046ae10c2932 to your computer and use it in GitHub Desktop.
Save tonicmuroq/1cdd9646046ae10c2932 to your computer and use it in GitHub Desktop.
test_sentry.py
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