diff options
author | Haibo Huang <hhb@google.com> | 2021-03-03 00:36:30 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-03-03 00:36:30 +0000 |
commit | b9bb304e35a11be6e36a80e7b9cc693b40bb134f (patch) | |
tree | db0acb7f9c7bcb964ae6b5264480ad331476ac47 /thermal | |
parent | daf1f828cda38a45ffb2d5f7fa98b0c1ee8f2a8f (diff) | |
parent | e47b5ba63dca7ad3caf09548c5551787adff46d7 (diff) | |
download | pixel-b9bb304e35a11be6e36a80e7b9cc693b40bb134f.tar.gz |
Print error message am: 7a38f410ad am: c938f616d5 am: e47b5ba63d
Original change: https://android-review.googlesource.com/c/platform/hardware/google/pixel/+/1612362
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id8a917b53d0e5c06bcf283efe8b7689dc90fbe21
Diffstat (limited to 'thermal')
-rw-r--r-- | thermal/utils/config_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thermal/utils/config_parser.cpp b/thermal/utils/config_parser.cpp index ba2de78c..b395bce8 100644 --- a/thermal/utils/config_parser.cpp +++ b/thermal/utils/config_parser.cpp @@ -114,7 +114,7 @@ std::map<std::string, SensorInfo> ParseSensorInfo(std::string_view config_path) std::string errorMessage; if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { - LOG(ERROR) << "Failed to parse JSON config"; + LOG(ERROR) << "Failed to parse JSON config: " << errorMessage; return sensors_parsed; } |