bem/bem-history

catch(){location.assing} stashes erorrs

Opened this issue · 1 comments

a-x- commented

What about adding?:

typeof console !== 'undefined' && console.error && console.error('location.assign fallback', e);

window.location.assign(data.url);

also, we may be have to check error type