summaryrefslogtreecommitdiffstats
path: root/modules/util/url.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/util/url.go')
-rw-r--r--modules/util/url.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/util/url.go b/modules/util/url.go
index 381e8b935b..537e4c9b52 100644
--- a/modules/util/url.go
+++ b/modules/util/url.go
@@ -30,13 +30,13 @@ func URLJoin(base string, elems ...string) string {
}
baseURL, err := url.Parse(base)
if err != nil {
- log.Error(4, "URLJoin: Invalid base URL %s", base)
+ log.Error("URLJoin: Invalid base URL %s", base)
return ""
}
joinedPath := path.Join(elems...)
argURL, err := url.Parse(joinedPath)
if err != nil {
- log.Error(4, "URLJoin: Invalid arg %s", joinedPath)
+ log.Error("URLJoin: Invalid arg %s", joinedPath)
return ""
}
joinedURL := baseURL.ResolveReference(argURL).String()