From b8ad583f70f3f4acb9fb3883857a5f8d7af29fd3 Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Mon, 2 Oct 2023 16:26:07 -0500 Subject: 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 --- redfish-core/lib/account_service.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'redfish-core') 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); } } -- cgit v1.2.3