Removed print.
This commit is contained in:
parent
3ddd63701e
commit
6aa3e0e77c
@ -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__':
|
||||||
|
Loading…
Reference in New Issue
Block a user