Created
May 27, 2017 15:28
-
-
Save bloodearnest/39a019016bec83abfc5e9b8c484201c8 to your computer and use it in GitHub Desktop.
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 flask_socketio import SocketIO | |
import talisker.flask | |
app = Flask(__name__) | |
talisker.flask.register(app) | |
socketio = SocketIO(app) | |
@app.route('/') | |
def index(): | |
return 'ok' | |
@app.route('/error/') | |
def error(): | |
raise Exception('test') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment