Skip to content

Commit

Permalink
better onRecoverableError error message
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Jun 8, 2023
1 parent 275c0bb commit 66e0aa1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/docusaurus/src/client/clientEntry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ if (ExecutionEnvironment.canUseDOM) {
);

const onRecoverableError = (error: unknown): void => {
// TODO
console.error('onRecoverableError', error);
console.error('Docusaurus React Root onRecoverableError:', error);
};

const renderApp = () => {
Expand Down

0 comments on commit 66e0aa1

Please sign in to comment.