Browse Source

Merge pull request #8835 from Snuffleupagus/viewer-firefox-error-message

Ensure that `PDFViewerApplication.error` outputs proper messages in FIREFOX/MOZCENTRAL builds
Tim van der Meij 8 years ago committed by GitHub
parent
commit
d734b3d1d6
  1. 4
      web/app.js

4
web/app.js

@ -841,7 +841,9 @@ let PDFViewerApplication = { @@ -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…
Cancel
Save