forked from MTSR/mapserver
msg
This commit is contained in:
parent
2c06fbb851
commit
5f0bc0ba42
@ -41,6 +41,11 @@ func renderMapblocks(ctx *app.App, mblist []*mapblockparser.MapBlock) int {
|
||||
tc := coords.GetTileCoordsFromMapBlock(mb.Pos, ctx.Config.Layers)
|
||||
|
||||
if tc == nil {
|
||||
fields := logrus.Fields{
|
||||
"pos": mb.Pos,
|
||||
"zoom": i,
|
||||
}
|
||||
logrus.WithFields(fields).Error("mapblock outside of layer!")
|
||||
panic("mapblock outside of layer!")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user