Removed print.

This commit is contained in:
Alexis Lahouze 2013-07-30 22:21:21 +02:00
parent 3ddd63701e
commit 6aa3e0e77c

View File

@ -36,7 +36,6 @@ def scheduler():
@app.errorhandler(BaseException) @app.errorhandler(BaseException)
def default_errorhandler(error): def default_errorhandler(error):
print "An error occured: %s" % error
return jsonify(title="Error", text="Error %s" % str(error)), 500 return jsonify(title="Error", text="Error %s" % str(error)), 500
if __name__ == '__main__': if __name__ == '__main__':