summary refs log tree commit diff stats
path: root/svc/query.go
diff options
context:
space:
mode:
Diffstat (limited to 'svc/query.go')
-rw-r--r--svc/query.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/svc/query.go b/svc/query.go
index a27747d..f2696dd 100644
--- a/svc/query.go
+++ b/svc/query.go
@@ -64,9 +64,7 @@ func apiEndpointQuery(w http.ResponseWriter, r *http.Request) error {
 
 	pageVal = strings.TrimSpace(pageVal)
 	page, err := strconv.Atoi(pageVal)
-	if err != nil {
-		log.Printf("%v\n", err.Error())
-	}
+	errLog("", err)
 
 	vars := mux.Vars(r)
 	endpoint := vars["endpoint"]