Skip to content

Conversation

@gauravm03
Copy link

@gauravm03 gauravm03 commented Nov 23, 2025

This PR improves the CLI's robustness by handling errors that occur during the issue fetching process.

Changes

  • Wrapped the main execution logic in a try...catch block to prevent unhandled promise rejections.
  • Added user-friendly error logging using chalk.red when an exception occurs (e.g., invalid project name or network connectivity issues).
  • Implemented process.exitCode = 1 for error states to ensure proper shell exit codes.
  • Added a graceful check for when no issues are found, ensuring the user sees a helpful message instead of a silent failure.

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