Fix internal error at preapprove now responds 500
* Previously it had been responding 200 (OK) Change-Id: Iac5f9fa9562b3c1c3bfb0f5fb9be377139447998
This commit is contained in:
parent
d55a580e3c
commit
f8b8e0c97f
|
@ -209,7 +209,7 @@ class TaskView(APIViewWithLogger):
|
|||
["Error: Something went wrong on the server. " +
|
||||
"It will be looked into shortly."]
|
||||
}
|
||||
return response_dict, 200
|
||||
return response_dict, 500
|
||||
|
||||
# send initial confirmation email:
|
||||
email_conf = class_conf.get('emails', {}).get('initial', None)
|
||||
|
|
Loading…
Reference in New Issue