We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 637a9fd commit ffc65cfCopy full SHA for ffc65cf
managed_vms/endpoints/main.py
@@ -79,7 +79,7 @@ def auth_info_google_id_token():
79
def unexpected_error(e):
80
"""Handle exceptions by returning swagger-compliant json."""
81
response = jsonify({
82
- 'error': http_client.INTERNAL_SERVER_ERROR,
+ 'code': http_client.INTERNAL_SERVER_ERROR,
83
'message': 'Exception: {}'.format(e)})
84
response.status_code = http_client.INTERNAL_SERVER_ERROR
85
return response
0 commit comments