Skip to content

Commit

Permalink
fix more typos
Browse files Browse the repository at this point in the history
  • Loading branch information
camden11 committed Oct 17, 2023
1 parent bc0ae43 commit 26c3f86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/lib/errorHandlers/standardErrors.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function logErrorInstance(error, context) {
if (error instanceof Error || error.message || error.reason) {
// Error or Error subclass
const name = error.name || 'Error';
const message = i18n(`${i18nKey}.genericErrorOcurred`, { name });
const message = [i18n(`${i18nKey}.genericErrorOccured`, { name })];
[(error.message, error.reason)].forEach(msg => {
if (msg) {
message.push(msg);
Expand All @@ -79,7 +79,7 @@ function logErrorInstance(error, context) {
logger.error(message.join(' '));
} else {
// Unknown errors
logger.error(i18n(`${i18nKey}.unknownErrorOcurred`));
logger.error(i18n(`${i18nKey}.unknownErrorOccured`));
}
debugErrorAndContext(error, context);
}
Expand Down

0 comments on commit 26c3f86

Please sign in to comment.