Skip to content

Commit

Permalink
more consoles
Browse files Browse the repository at this point in the history
  • Loading branch information
moshfeu committed Jun 21, 2021
1 parent 64b0565 commit 49c2c4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export async function makeApiCall<T>(
}
return res;
} catch (error) {
// eslint-disable-next-line no-console
console.error(error);

const errorMessage = getErrorMessage(error);
Expand Down
1 change: 1 addition & 0 deletions src/serviceWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ function registerValidSW(swUrl, config) {
};
})
.catch(error => {
// eslint-disable-next-line no-console
console.error('Error during service worker registration:', error);
});
}
Expand Down

0 comments on commit 49c2c4b

Please sign in to comment.