Skip to content
Snippets Groups Projects
Commit cb163534 authored by Sebastian Rietsch's avatar Sebastian Rietsch
Browse files

Improved common_places error logging

parent d0fe5ba5
No related branches found
No related tags found
No related merge requests found
Pipeline #21608 failed
...@@ -12,8 +12,7 @@ namespace armarx::priorknowledge::util ...@@ -12,8 +12,7 @@ namespace armarx::priorknowledge::util
std::vector<CommonPlace> ret; std::vector<CommonPlace> ret;
if (not js.contains("common_places")) if (not js.contains("common_places"))
{ {
ARMARX_WARNING << "The common_places file has the wrong structure. Missing key " ARMARX_WARNING << "The common_places file (" << source << ") has the wrong structure. Missing key 'common_places'.";
"'common_places'.";
return ret; return ret;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment