Skip to content

Commit

Permalink
Error message changes
Browse files Browse the repository at this point in the history
  • Loading branch information
willvedd committed Aug 10, 2023
1 parent 3103893 commit 6857c0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/tools/auth0/handlers/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export default class RulesHandler extends DefaultHandler {
if (!rules) return;

log.warn(
'Rules are deprecated and should be migrated to actions instead. See: https://auth0.com/docs/customize/actions/migrate/migrate-from-rules-to-actions for more information.'
'Rules are deprecated, migrate to using actions instead. See: https://auth0.com/docs/customize/actions/migrate/migrate-from-rules-to-actions for more information.'
);

try {
Expand Down Expand Up @@ -237,7 +237,7 @@ export default class RulesHandler extends DefaultHandler {
} catch (err) {
if (isDeprecatedError(err)) {
log.warn(
'Rules not updated because functionality has been deprecated for favor of actions. See: https://auth0.com/docs/customize/actions/migrate/migrate-from-rules-to-actions for more information.'
'Failed to update rules not because functionality has been deprecated in favor of actions. See: https://auth0.com/docs/customize/actions/migrate/migrate-from-rules-to-actions for more information.'
);
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/tools/auth0/handlers/rulesConfigs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default class RulesConfigsHandler extends DefaultHandler {
};

log.warn(
'Rules are deprecated and should be migrated to actions instead. See: https://auth0.com/docs/customize/actions/migrate/migrate-from-hooks-to-actions for more information.'
'Rules are deprecated, migrate to using actions instead. See: https://auth0.com/docs/customize/actions/migrate/migrate-from-rules-to-actions for more information.'
);

// Intention is to not delete/cleanup old configRules, that needs to be handled manually.
Expand Down

0 comments on commit 6857c0a

Please sign in to comment.