Skip to content

Commit

Permalink
feat(log): Updates log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ERosendo committed Aug 21, 2024
1 parent 920175f commit e5ab547
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 4 additions & 6 deletions src/appellate/appellate.js
Original file line number Diff line number Diff line change
Expand Up @@ -608,8 +608,7 @@ AppellateDelegate.prototype.handleAcmsDownloadPage = async function () {
);

console.info(
'RECAP: Got results from API. Running callback on API ' +
'results to insert banner'
'RECAP: Got results from API. Processing results to insert banner'
);
let result = recapLinks.results.filter(
(obj) => obj.pacer_doc_id == this.docId,
Expand Down Expand Up @@ -883,8 +882,8 @@ AppellateDelegate.prototype.attachRecapLinksToEligibleDocs = async function () {
return console.error('RECAP: Failed getting availability for dockets.');

console.info(
'RECAP: Got results from API. Running callback on API results to ' +
'attach links and icons where appropriate.'
'RECAP: Got results from API. Processing results to attach links and ' +
'icons where appropriate.'
);
for (let i = 0; i < this.links.length; i++) {
let pacer_doc_id = this.links[i].dataset.pacerDocId;
Expand Down Expand Up @@ -1081,8 +1080,7 @@ AppellateDelegate.prototype.handleSingleDocumentPageView = async function () {
if (docData.Error) return;

console.info(
'RECAP: Got results from API. Running callback on API results to ' +
'insert banner'
'RECAP: Got results from API. Processing results to insert banner'
);
let result = docData.results.filter(
(obj) => obj.pacer_doc_id == this.docId
Expand Down
7 changes: 3 additions & 4 deletions src/content_delegate.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,7 @@ ContentDelegate.prototype.handleSingleDocumentPageCheck = async function () {

if (!recapLinks.count) return;
console.info(
'RECAP: Got results from API. Running callback on API results to ' +
'insert link'
'RECAP: Got results from API. Processing results to insert link'
);
let result = recapLinks.results.filter(
(doc) => doc.pacer_doc_id === this.pacer_doc_id,
Expand Down Expand Up @@ -587,8 +586,8 @@ ContentDelegate.prototype.attachRecapLinkToEligibleDocs = async function () {
if (!recapLinks) return;

console.info(
'RECAP: Got results from API. Running callback on API results to ' +
'attach links and icons where appropriate.'
'RECAP: Got results from API. Processing results to attach links and ' +
'icons where appropriate.'
);
for (let i = 0; i < this.links.length; i++) {
let pacer_doc_id = $(this.links[i]).data('pacer_doc_id');
Expand Down

0 comments on commit e5ab547

Please sign in to comment.