Skip to content

Commit

Permalink
chore: Tune log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach authored Aug 8, 2024
1 parent 6e42d5b commit fa0a862
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/mixins/navigate.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@ export async function navToUrl (url) {
const targetPage = pageArrayFromDict(pageDict)
.find(({id}) => parseInt(`${id}`, 10) === parseInt(`${pageIdKey}`, 10));
if (targetPage?.url === url) {
this.log.debug(`The page ${targetPage.id} got a new URL ${url}`);
this.log.debug(`The page ${targetPage.id} has the expected URL ${url}`);
if (pageReadinessCheckPromise) {
this.log.debug('Page readiness monitoring is already running');
} else {
this.log.debug('Monitoring its readiness');
this.log.debug('Monitoring page readiness');
pageReadinessCheckPromise = performPageReadinessCheck();
await pageReadinessCheckPromise;
}
Expand All @@ -282,7 +282,7 @@ export async function navToUrl (url) {
if (pageReadinessCheckPromise) {
this.log.debug('Page readiness monitoring is already running');
} else {
this.log.debug('Monitoring its readiness');
this.log.debug('Monitoring page readiness');
pageReadinessCheckPromise = performPageReadinessCheck();
await pageReadinessCheckPromise;
}
Expand Down

0 comments on commit fa0a862

Please sign in to comment.