Skip to content

Commit

Permalink
debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
phfaist committed Feb 11, 2025
1 parent 9144cc3 commit eaa9bdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/citationmanager/_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class CitationDatabaseManager
try {
json_data = await fsp.readFile(this.cache_file);
} catch (err) {
debug(`Cache file does not exist or error loading cache file`, err);
debug(`Failed to read citations cache file ‘${this.cache_file}’ - maybe it does not exist`, err);
}
if (json_data == null) {
return;
Expand All @@ -99,7 +99,7 @@ export class CitationDatabaseManager
debug(`Loaded citations cache from ‘${this.cache_file}’ `
+ `(${this.cache.size()} items)`);
} catch (err) {
debug(`Error importing cache!`, err);
debug(`Failed to import citations cache from ‘${this.cache_file}’:`, err);
}
}

Expand Down

0 comments on commit eaa9bdb

Please sign in to comment.