Skip to content

Commit

Permalink
More informative error message for error in query
Browse files Browse the repository at this point in the history
fix #290
  • Loading branch information
agila5 committed Apr 26, 2024
1 parent 04ec054 commit 9ee3320
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/read.R
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ oe_read = function(
oe_stop(
.subclass = "oe_read-errorInQuery1",
message = paste0(
"There is an error in the query or in oe_read. Please open a new issue at ",
"The query should be formatted as 'SELECT ... FROM ... <WHERE ...>'. ",
"If that's already the case, please open a new issue at ",
"https://github.com/ropensci/osmextract/issues"
)
)
Expand Down

0 comments on commit 9ee3320

Please sign in to comment.