Skip to content

Commit

Permalink
rephrase error string when reading columns names
Browse files Browse the repository at this point in the history
  • Loading branch information
assafmo committed Apr 28, 2019
1 parent ee1b54f commit 37924c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func initQueryHandler(dbPath string, queryString string, serverPort uint) (func(

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

0 comments on commit 37924c5

Please sign in to comment.