Skip to content

Commit

Permalink
HPCC-32208 Code Review 1
Browse files Browse the repository at this point in the history
- Routes config err messages to operators
- Cleans up error message wording

Signed-off-by: Rodrigo Pastrana <[email protected]>
  • Loading branch information
rpastrana committed Jul 11, 2024
1 parent 043b75d commit 753a1f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/logaccess/Grafana/CurlClient/GrafanaCurlClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ GrafanaLogAccessCurlClient::GrafanaLogAccessCurlClient(IPropertyTree & logAccess
catch(IException * e)
{
StringBuffer description;
IERRLOG("%s: datasource exception: (%d) - %s", COMPONENT_NAME, e->errorCode(), e->errorMessage(description).str());
OERRLOG("%s: Exception fetching Loki/Grafana datasource!!: (%d) - %s", COMPONENT_NAME, e->errorCode(), e->errorMessage(description).str());
e->Release();
}

Expand All @@ -753,7 +753,7 @@ GrafanaLogAccessCurlClient::GrafanaLogAccessCurlClient(IPropertyTree & logAccess
catch(IException * e)
{
StringBuffer description;
IERRLOG("%s: labels exception: (%d) - %s", COMPONENT_NAME, e->errorCode(), e->errorMessage(description).str());
OERRLOG("%s: Exception fetching available labels: (%d) - %s", COMPONENT_NAME, e->errorCode(), e->errorMessage(description).str());
e->Release();
}

Expand Down

0 comments on commit 753a1f9

Please sign in to comment.