Skip to content

Commit

Permalink
JS - Increase console logging from debug to warn for an "error" messa…
Browse files Browse the repository at this point in the history
…ge, not blocking
  • Loading branch information
Gustry committed Nov 4, 2024
1 parent e7beef6 commit 3ab9aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/src/modules/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default class Tooltip {

this._activeTooltipLayer.getSource().on('featuresloaderror', () => {
lizMap.addMessage(lizDict['tooltip.loading.error'], 'error', true);
console.log(`Tooltip layer '${layerName}' could not be loaded.`);
console.warn(`Tooltip layer '${layerName}' could not be loaded.`);
});

mainEventDispatcher.dispatch('tooltip.loading');
Expand Down

0 comments on commit 3ab9aa5

Please sign in to comment.