diff options
-rw-r--r-- | http_handle_repo_raw.go | 2 | ||||
-rw-r--r-- | http_handle_repo_tree.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/http_handle_repo_raw.go b/http_handle_repo_raw.go index 5928f8c..e6e8c9a 100644 --- a/http_handle_repo_raw.go +++ b/http_handle_repo_raw.go @@ -130,7 +130,7 @@ func httpHandleRepoRaw(writer http.ResponseWriter, request *http.Request, params } case 3: - errorPage500(writer, params, fmt.Sprintf("path not found: %s", pathSpec)) + errorPage500(writer, params, "path not found: "+pathSpec) default: errorPage500(writer, params, fmt.Sprintf("unknown status code: %d", status)) diff --git a/http_handle_repo_tree.go b/http_handle_repo_tree.go index 2459580..f6729e9 100644 --- a/http_handle_repo_tree.go +++ b/http_handle_repo_tree.go @@ -126,7 +126,7 @@ func httpHandleRepoTree(writer http.ResponseWriter, request *http.Request, param } case 3: - errorPage500(writer, params, fmt.Sprintf("path not found: %s", pathSpec)) + errorPage500(writer, params, "path not found: "+pathSpec) return default: |