summaryrefslogtreecommitdiff
path: root/redfish-core/include/registries/privilege_registry.hpp
diff options
context:
space:
mode:
authorChandra Harkude <Chandramohan.harkude@gmail.com>2024-09-23 19:32:35 +0300
committerChandra Harkude <Chandramohan.harkude@gmail.com>2024-09-23 20:30:42 +0300
commit26d3b0fb502ba522c33621e43c9679d47c7db2d2 (patch)
tree48cac90d1e2f9d16cf40f406bd2f9b08a0eb874e /redfish-core/include/registries/privilege_registry.hpp
parenta14c9113226dcae33a36eb4e50abbcc28be998ae (diff)
downloadbmcweb-master.tar.xz
Fix error codesHEADmaster
Changes added : Added error code for invalid certificate Problem : When Invalid certificate was passed to replace certificate It was throwing error Internal error Below is the redfishtool log: redfishtool: Transport: Response Error: status_code: 500 -- Internal Error redfishtool: raw: Error sending POST to resource, aborting Solution : Return proper error code that is 400 -- Bad Request Tested : I tested with redfish tool and below is the log with correct error code redfishtool: Transport: Response Error: status_code: 400 -- Bad Request redfishtool: raw: Error sending POST to resource, aborting Change-Id: I71e7a72a4c156dc80321641f279c20aff4bd6df1 Signed-off-by: Chandramohan Harkude <chandramohan.harkude@gmail.com>
Diffstat (limited to 'redfish-core/include/registries/privilege_registry.hpp')
0 files changed, 0 insertions, 0 deletions