mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 17:48:07 +02:00
Fixes and refactors log functionality
This commit is contained in:
parent
ab4f27b272
commit
754e000907
5 changed files with 30 additions and 46 deletions
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
/* globals assertWellFormed, bytesToString, CipherTransformFactory, error, info,
|
||||
InvalidPDFException, isArray, isCmd, isDict, isInt, isName, isRef,
|
||||
isStream, Lexer, log, Page, Parser, Promise, shadow,
|
||||
isStream, Lexer, Page, Parser, Promise, shadow,
|
||||
stringToPDFString, stringToUTF8String, warn, isString, assert,
|
||||
Promise, MissingDataException, XRefParseException, Stream,
|
||||
ChunkedStream, LegacyPromise */
|
||||
|
@ -999,7 +999,7 @@ var XRef = (function XRefClosure() {
|
|||
if (e instanceof MissingDataException) {
|
||||
throw e;
|
||||
}
|
||||
log('(while reading XRef): ' + e);
|
||||
info('(while reading XRef): ' + e);
|
||||
}
|
||||
|
||||
if (recoveryMode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue