From e5ab54716c017728f4be3ba0a8e3766fdbb62a5d Mon Sep 17 00:00:00 2001 From: Eduardo Rosendo Date: Tue, 20 Aug 2024 21:06:04 -0400 Subject: [PATCH] feat(log): Updates log messages --- src/appellate/appellate.js | 10 ++++------ src/content_delegate.js | 7 +++---- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/appellate/appellate.js b/src/appellate/appellate.js index 4d9e9c44..0cc59290 100644 --- a/src/appellate/appellate.js +++ b/src/appellate/appellate.js @@ -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, @@ -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; @@ -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 diff --git a/src/content_delegate.js b/src/content_delegate.js index 0c3a59c8..e30e3d9a 100644 --- a/src/content_delegate.js +++ b/src/content_delegate.js @@ -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, @@ -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');