Skip to content

Commit 1f30470

Browse files
committed
Add debugging code
1 parent 08853d8 commit 1f30470

File tree

2 files changed

+167
-154
lines changed

2 files changed

+167
-154
lines changed

src/plots/map/map.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,8 @@ proto.resolveOnRender = function(resolve) {
368368
proto.rejectOnError = function(reject) {
369369
var map = this.map;
370370

371-
function handler() {
371+
function handler(e) {
372+
console.error('Map error event:', e);
372373
reject(new Error(constants.mapOnErrorMsg));
373374
}
374375

0 commit comments

Comments
 (0)