Skip to content

Commit 1cb87e7

Browse files
yvessYves Serrano
authored andcommitted
allow error console log in production for snapshot errors
1 parent 48b9421 commit 1cb87e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vue/src/components/SnapshotMap.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export default {
219219
);
220220
});
221221
} catch (error) {
222-
console.log(error);
222+
console.log(error); // eslint-disable-line no-console
223223
this.isMapLoaded = true;
224224
}
225225
},
@@ -275,7 +275,7 @@ export default {
275275
document.querySelector('#mapinfo').style.visibility = 'hidden';
276276
}
277277
} catch (error) {
278-
console.log(error);
278+
console.log(error); // eslint-disable-line no-console
279279
this.isMapLoaded = true;
280280
}
281281
// L.control.zoom({ position: 'bottomleft' }).addTo(this.map);

0 commit comments

Comments
 (0)