3417 silently handle errors

fix for https://github.com/mozilla/pdf.js/issues/3417