You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, Flask-RESTful will stlll give only the {u'status': 500, u'message': u'Internal Server Error'} response when an uncatched exception occurs. Only when you set debug = True it will show the errors too.
I think because debug = True is the default behaviour of a Flask application, only for the test_client() it works differently in Flask. So maybe to prevent confusion, Flask-RESTful should also check the testing variable?
The text was updated successfully, but these errors were encountered:
According to the Flask documentation we should get exceptions in our
test_client()
if we settesting = True
:http://flask.pocoo.org/docs/api/#flask.Flask.test_client
However, Flask-RESTful will stlll give only the
{u'status': 500, u'message': u'Internal Server Error'}
response when an uncatched exception occurs. Only when you setdebug = True
it will show the errors too.I think because
debug = True
is the default behaviour of a Flask application, only for thetest_client()
it works differently in Flask. So maybe to prevent confusion, Flask-RESTful should also check thetesting
variable?The text was updated successfully, but these errors were encountered: