From 40d9387e9e5ffa83eee87d7f01d45e41ccdabfb7 Mon Sep 17 00:00:00 2001 From: Lorenzo Mangani Date: Thu, 13 Apr 2023 22:36:51 +0200 Subject: [PATCH] Update fluxpipe-server.go Signed-off-by: Lorenzo Mangani --- fluxpipe-server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluxpipe-server.go b/fluxpipe-server.go index eefdb51..06a5091 100644 --- a/fluxpipe-server.go +++ b/fluxpipe-server.go @@ -155,7 +155,7 @@ func exec(inputString string) (string, error) { if q.Err() != nil { fmt.Println("unexpected error from query execution: %s", q.Err()) - return "", fmt.Errorf(q.Err()) + return "", q.Err() } else { return buf.String(), nil