Skip to content

Commit

Permalink
minor log message fix. closes #164
Browse files Browse the repository at this point in the history
  • Loading branch information
ARolek committed Nov 4, 2017
1 parent a93c8ff commit 58fafa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/postgis/postgis.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func NewProvider(config map[string]interface{}) (mvt.Provider, error) {
if sql != "" {
// make sure that the sql has a !BBOX! token
if !strings.Contains(sql, bboxToken) {
return nil, fmt.Errorf("SQL for layer (%v) %v does not contain "+bboxToken+", entry.", i, lname)
return nil, fmt.Errorf("SQL for layer (%v) %v is missing required token: %v", i, lname, bboxToken)
}
if !strings.Contains(sql, "*") {
if !strings.Contains(sql, geomfld) {
Expand Down

0 comments on commit 58fafa6

Please sign in to comment.