Skip to content
Permalink
Browse files
Revert "Reduce log clutter from non-errors"
  • Loading branch information
jmckenna committed Jun 14, 2019
1 parent aea4479 commit 9f9680e23f9e345e6c7d6c4bbd3e4944a0e49e14
Showing 1 changed file with 5 additions and 15 deletions.
@@ -986,9 +986,7 @@ int msQueryByFilter(mapObj *map)
return MS_SUCCESS;
}

if( lp->debug >= MS_DEBUGLEVEL_V ) {
msSetError(MS_NOTFOUND, "No matching record(s) found.", "msQueryByFilter()");
}
msSetError(MS_NOTFOUND, "No matching record(s) found.", "msQueryByFilter()");
return MS_FAILURE;

query_error:
@@ -1286,9 +1284,7 @@ int msQueryByRect(mapObj *map)
return(MS_SUCCESS);
}

if( lp->debug >= MS_DEBUGLEVEL_V ) {
msSetError(MS_NOTFOUND, "No matching record(s) found.", "msQueryByRect()");
}
msSetError(MS_NOTFOUND, "No matching record(s) found.", "msQueryByRect()");
return(MS_FAILURE);
}

@@ -1605,9 +1601,7 @@ int msQueryByFeatures(mapObj *map)
if(GET_LAYER(map, l)->resultcache && GET_LAYER(map, l)->resultcache->numresults > 0) return(MS_SUCCESS);
}

if( lp->debug >= MS_DEBUGLEVEL_V ) {
msSetError(MS_NOTFOUND, "No matching record(s) found.", "msQueryByFeatures()");
}
msSetError(MS_NOTFOUND, "No matching record(s) found.", "msQueryByFeatures()");
return(MS_FAILURE);
}

@@ -1842,9 +1836,7 @@ int msQueryByPoint(mapObj *map)
return(MS_SUCCESS);
}

if( lp->debug >= MS_DEBUGLEVEL_V ) {
msSetError(MS_NOTFOUND, "No matching record(s) found.", "msQueryByPoint()");
}
msSetError(MS_NOTFOUND, "No matching record(s) found.", "msQueryByPoint()");
return(MS_FAILURE);
}

@@ -2123,9 +2115,7 @@ int msQueryByShape(mapObj *map)
return(MS_SUCCESS);
}

if( lp->debug >= MS_DEBUGLEVEL_V ) {
msSetError(MS_NOTFOUND, "No matching record(s) found.", "msQueryByShape()");
}
msSetError(MS_NOTFOUND, "No matching record(s) found.", "msQueryByShape()");
return(MS_FAILURE);
}

0 comments on commit 9f9680e

Please sign in to comment.