diff options
author | Myung Bae <myungbae@us.ibm.com> | 2023-08-03 03:48:35 +0300 |
---|---|---|
committer | Myung Bae <myungbae@us.ibm.com> | 2023-08-03 03:55:19 +0300 |
commit | 1ccf70f116b28a0f78404b914a789ce05f411ddf (patch) | |
tree | 252629d8a81fc4519f1163fcd76705492f36fc2e /http/http_client.hpp | |
parent | d518a9beb3c5fb36ea7a6da0d920ff3a4eddabac (diff) | |
download | bmcweb-1ccf70f116b28a0f78404b914a789ce05f411ddf.tar.xz |
Show Update error type on logs if unknown
Update is failing due to unknown update dbus error type
but the cause can not be determined as its value is not showing.
This change is to add the error cause to journal in addition to
CRITICAL internalError.
```
Aug 02 09:00:16 bmcweb[2476]: (2023-08-02 09:00:14) [ERROR
"update_service.hpp":396] Unknown Software Image Error type = <XXX>
Aug 02 09:00:16 bmcweb[2476]: (2023-08-02 09:00:14) [CRITICAL
"error_messages.cpp":284] Internal Error ....`
```
Not tested but successfully compiled.
Change-Id: I20833d24042bf8d2f7e2d8a8e4359e3d80af702a
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
Diffstat (limited to 'http/http_client.hpp')
0 files changed, 0 insertions, 0 deletions