diff --git a/umap/static/umap/js/umap.js b/umap/static/umap/js/umap.js index 38a1a439..4cf6f74e 100644 --- a/umap/static/umap/js/umap.js +++ b/umap/static/umap/js/umap.js @@ -629,6 +629,7 @@ L.U.Map.include({ this.setZoom(this.selected_tilelayer.options.maxZoom) } } catch (e) { + console.error(e) this.removeLayer(tilelayer) this.ui.alert({ content: `${L._('Error in the tilelayer URL')}: ${tilelayer._url}`,