Merge pull request #8835 from Snuffleupagus/viewer-firefox-error-message
Ensure that `PDFViewerApplication.error` outputs proper messages in FIREFOX/MOZCENTRAL builds
This commit is contained in:
commit
d734b3d1d6
@ -841,7 +841,9 @@ let PDFViewerApplication = {
|
||||
errorMoreInfo.value = parts.join('\n');
|
||||
});
|
||||
} else {
|
||||
console.error(message + '\n' + moreInfoText);
|
||||
Promise.all(moreInfoText).then((parts) => {
|
||||
console.error(message + '\n' + parts.join('\n'));
|
||||
});
|
||||
this.fallback();
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user