Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
4 merge requests!678Merge 12.2.0 beta.2 into master,!67712.2.0~beta.2 into master,!676Devel 12.2.0~beta.2 into master,!664failure error is more specific
Pipeline #8960 passed
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment