forked from MTSR/mapserver
parent
6568d6526a
commit
2c90c94c65
@ -54,7 +54,7 @@ func (a *MapBlockAccessor) FindNextLegacyBlocks(s settings.Settings, layers []*l
|
|||||||
"z": block.Pos.Z,
|
"z": block.Pos.Z,
|
||||||
"err": err,
|
"err": err,
|
||||||
}
|
}
|
||||||
logrus.WithFields(fields).Error("mapblock-pars")
|
logrus.WithFields(fields).Error("mapblock-parse")
|
||||||
|
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,8 @@ func initialRender(ctx *app.App) {
|
|||||||
result, err := ctx.MapBlockAccessor.FindNextLegacyBlocks(ctx.Settings, ctx.Config.Layers, ctx.Config.RenderingFetchLimit)
|
result, err := ctx.MapBlockAccessor.FindNextLegacyBlocks(ctx.Settings, ctx.Config.Layers, ctx.Config.RenderingFetchLimit)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
logrus.Error("Error in initial rendering run, trying to continue: " + err.Error())
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(result.List) == 0 && !result.HasMore {
|
if len(result.List) == 0 && !result.HasMore {
|
||||||
|
Loading…
Reference in New Issue
Block a user