diff --git a/pkg/rwgps/handler.go b/pkg/rwgps/handler.go index f2fe661..4ac61d4 100644 --- a/pkg/rwgps/handler.go +++ b/pkg/rwgps/handler.go @@ -41,7 +41,7 @@ func (h *RWGPSHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { } routeId, err := strconv.Atoi(rawRouteId) if err != nil { - log.Println("Error parsing route id '%s': %v", rawRouteId, err) + log.Printf("Error parsing route id '%s': %v", rawRouteId, err) http.Error(w, fmt.Sprintf("Invalid routeId: %s", rawRouteId), http.StatusBadRequest) return }