Skip to content

Conversation

@JS-AK
Copy link

@JS-AK JS-AK commented Oct 23, 2025

Problem

Server crashes with ServiceNotFoundError when blacklisted action is found during auto-alias regeneration.

Root Cause

In regenerateAutoAliases method, when checking if an action is in the blacklist, the code throws ServiceNotFoundError instead of skipping the action. This causes the entire regeneration process to fail and crash the server.

Solution

Replace throw new ServiceNotFoundError(...) with return statement when blacklist check fails during auto-alias regeneration. This allows the process to skip blacklisted actions and continue with other actions.

Changes

  • Modified src/index.js line 1778: changed from throwing error to returning early
  • Updated log message to indicate action is being skipped

Replace throw ServiceNotFoundError with return statement when checking
blacklist in regenerateAutoAliases method. This prevents server from
crashing and allows auto-alias regeneration to continue with other actions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant