Commit 3c8d4232 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '704' into 'devel_12.2.x'

failure error is more specific

See merge request !664
parents bdc82323 81caf960
Pipeline #8960 passed with stage
in 9 minutes and 23 seconds
......@@ -679,7 +679,7 @@ public class ProjectService implements IProjectService {
Integer zoomLevels = generator.computeZoomLevels(topModel);
if (zoomLevels > maxZoomLevels) {
throw new InvalidInputDataExecption(
"Map " + topModel.getName() + " too big. You can change the max size of map in configuration.");
"Map " + topModel.getName() + " too big. You can change the max number of map zoom levels in configuration.");
}
topModel.setZoomLevels(zoomLevels);
topModel.setTileSize(MapGenerator.TILE_SIZE);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment