summaryrefslogtreecommitdiff
path: root/redfish-core
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2023-10-03 00:26:07 +0300
committerGunnar Mills <gmills@us.ibm.com>2023-10-03 00:28:28 +0300
commitb8ad583f70f3f4acb9fb3883857a5f8d7af29fd3 (patch)
tree8dd109b5f9fdb149d07e11174e3d4170b4d94fe9 /redfish-core
parent36b5f1ed97fe5806c53e0eb5b2f9a07e9a8acd5f (diff)
downloadbmcweb-b8ad583f70f3f4acb9fb3883857a5f8d7af29fd3.tar.xz
Add trace when unknown user error
Have seen this internalError a few times. A trace would help debug why User Manager is returning an error. In line with https://github.com/openbmc/bmcweb/blob/master/DEVELOPING.md#logging-levels. IBM has bmcweb-logging=error enabled. Tested: None. Visual only. Change-Id: I16f56c3170fb92dcfb52e57c9a420cefabc4c763 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'redfish-core')
-rw-r--r--redfish-core/lib/account_service.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp
index dc21ff96d7..70a1506806 100644
--- a/redfish-core/lib/account_service.hpp
+++ b/redfish-core/lib/account_service.hpp
@@ -312,6 +312,7 @@ inline void userErrorMessageHandler(
}
else
{
+ BMCWEB_LOG_ERROR("DBUS response error {}", errorMessage);
messages::internalError(asyncResp->res);
}
}