HewlettPackard / oneview-redfish-toolkit

HPE OneView Redfish Toolkit provides a REST service to answer DMTF's Redfish compliant requests by querying HPE OneView
Apache License 2.0
18 stars 21 forks source link

Bad request errors are not treated on ResponseBuilder #499

Closed karolcatunda closed 5 years ago

karolcatunda commented 5 years ago

When bad request exceptions are generated by OneViewRedfishException or its instances, they look for error_400 and generates an internal error exception (500) because this property does not exist on ResponseBuilder.