Skip to content

fix: don't finish process if no org is found W-18885856 #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cristiand391
Copy link
Member

@cristiand391 cristiand391 commented Jun 24, 2025

What does this PR do?

Removes the check that was finishing the process when no orgs where found in the allowlist.

Repro:
either --orgs DEFAULT_TARGET_ORG or any combination that would result in no orgs found by the server.

Before:
server exits via process.exit(1) and host gets Canceled: Canceled as the tool output
Screenshot 2025-06-24 at 17 09 07

After:
server continues running, tools return proper msg suggesting the user valid actions to take:
Screenshot 2025-06-24 at 17 11 26

What issues does this PR fix or reference?

@W-18885856@

@cristiand391 cristiand391 added the bug Something isn't working label Jun 24, 2025
@cristiand391 cristiand391 changed the title fix: don't finish process if no org is found fix: don't finish process if no org is found W-18885856 Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants