Browse Source

Reduce the query unescape helper verbosity (#1447)

AlteredCoder 3 years ago
parent
commit
526a4dbd08
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pkg/exprhelpers/exprlib.go

+ 2 - 2
pkg/exprhelpers/exprlib.go

@@ -120,7 +120,7 @@ func PathEscape(s string) string {
 func PathUnescape(s string) string {
 	ret, err := url.PathUnescape(s)
 	if err != nil {
-		log.Errorf("unable to PathUnescape '%s': %+v", s, err)
+		log.Debugf("unable to PathUnescape '%s': %+v", s, err)
 		return s
 	}
 	return ret
@@ -129,7 +129,7 @@ func PathUnescape(s string) string {
 func QueryUnescape(s string) string {
 	ret, err := url.QueryUnescape(s)
 	if err != nil {
-		log.Errorf("unable to QueryUnescape '%s': %+v", s, err)
+		log.Debugf("unable to QueryUnescape '%s': %+v", s, err)
 		return s
 	}
 	return ret