1
0
forked from MTSR/mapserver
This commit is contained in:
Thomas Rudin 2019-03-01 19:28:55 +01:00
parent 2c06fbb851
commit 5f0bc0ba42

View File

@ -41,6 +41,11 @@ func renderMapblocks(ctx *app.App, mblist []*mapblockparser.MapBlock) int {
tc := coords.GetTileCoordsFromMapBlock(mb.Pos, ctx.Config.Layers) tc := coords.GetTileCoordsFromMapBlock(mb.Pos, ctx.Config.Layers)
if tc == nil { if tc == nil {
fields := logrus.Fields{
"pos": mb.Pos,
"zoom": i,
}
logrus.WithFields(fields).Error("mapblock outside of layer!")
panic("mapblock outside of layer!") panic("mapblock outside of layer!")
} }