Browse Source

Reduce the query unescape helper verbosity (#1447)

AlteredCoder 3 năm trước cách đây
mục cha
commit
526a4dbd08
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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