Skip to content
Snippets Groups Projects
Commit 82218704 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Improve logging

parent 090579c8
No related branches found
No related tags found
No related merge requests found
...@@ -291,14 +291,15 @@ namespace armarx::armem::client ...@@ -291,14 +291,15 @@ namespace armarx::armem::client
} }
catch (const error::ArMemError& e) catch (const error::ArMemError& e)
{ {
errors << "#" << ++errorCounter << "\n" errors << "\n#" << ++errorCounter << "\n"
<< "Failed to retrieve " << id << " from query result: \n" << e.what() << "\n"; << "Failed to retrieve " << id << " from query result: \n" << e.what();
} }
} }
} }
else else
{ {
errors << "# Failed to query '" << memoryName << "': \n" << queryResult.errorMessage << "\n"; errors << "\n# " << ++errorCounter << "\n"
<< "Failed to query '" << memoryName << "': \n" << queryResult.errorMessage;
} }
} }
......
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