Skip to content

Commit

Permalink
HPCC-32052 Improve WsStore fech miss message
Browse files Browse the repository at this point in the history
- Changes log message to clarify simple fetch miss
- Bumps up logging level to debug

Signed-off-by: Rodrigo Pastrana <[email protected]>
  • Loading branch information
rpastrana committed Jun 28, 2024
1 parent a7aeeb7 commit 914ca2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion esp/services/ws_store/espstorelib/daliKVStore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ bool CDALIKVStore::fetch(const char * storename, const char * ns, const char * k
xpath.appendf("/%s", key);
if(!storetree->hasProp(xpath.str()))
{
throw makeStringExceptionV(ECLWATCH_INVALID_QUERY_KEY, "DALI Keystore fetch: invalid key '%s' detected!", key);
throw makeStringExceptionV(ECLWATCH_INVALID_QUERY_KEY, "DALI Keystore fetch: Could not find key '%s'!", key);
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion esp/services/ws_store/ws_storeService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ bool CwsstoreEx::onFetch(IEspContext &context, IEspFetchRequest &req, IEspFetchR
if (e->errorCode() == ECLWATCH_INVALID_QUERY_KEY)
{
StringBuffer msg;
LOG(MCuserInfo, "WsStore: %s", e->errorMessage(msg).str());
DBGLOG("WsStore: Fetch failed: %s", e->errorMessage(msg).str());
e->Release();
return false;
}
Expand Down

0 comments on commit 914ca2a

Please sign in to comment.