From 58fafa6da2963adf690ff3f151c3140ecabcfbb1 Mon Sep 17 00:00:00 2001 From: Alexander Rolek Date: Sat, 4 Nov 2017 15:23:28 -0700 Subject: [PATCH] minor log message fix. closes #164 --- provider/postgis/postgis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/postgis/postgis.go b/provider/postgis/postgis.go index 6a9b24b25..ecdcbbd08 100644 --- a/provider/postgis/postgis.go +++ b/provider/postgis/postgis.go @@ -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) {