Skip to content

Commit 37924c5

Browse files
committed
rephrase error string when reading columns names
1 parent ee1b54f commit 37924c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func initQueryHandler(dbPath string, queryString string, serverPort uint) (func(
133133

134134
cols, err := rows.Columns()
135135
if err != nil {
136-
msg := fmt.Sprintf("\n\nError executing query for params %#v: %v\n\n%s", csvLine, err, helpMessage)
136+
msg := fmt.Sprintf("\n\nError reading columns for query with params %#v: %v\n\n%s", csvLine, err, helpMessage)
137137
http.Error(w, msg, http.StatusInternalServerError)
138138
return
139139
}

0 commit comments

Comments
 (0)