Just showError(e) instead of showError(e.message)

This commit is contained in:
the-djmaze 2022-04-30 21:26:57 +02:00
parent 9383277e64
commit d997a2b679

View file

@ -59,7 +59,7 @@ window.rl = {
: doc.addEventListener('readystatechange', () => 'complete' == doc.readyState && cb()) : doc.addEventListener('readystatechange', () => 'complete' == doc.readyState && cb())
) )
.catch(e => { .catch(e => {
showError(e.message); showError(e);
throw e; throw e;
}); });
}, },