Skip to content
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

Add better error handling for empty or invalid org and service env vars #3365

Merged
merged 11 commits into from Sep 19, 2023

Conversation

prescod
Copy link
Contributor

@prescod prescod commented Sep 20, 2022

Moved from #3341

Thank you @jlantz !

Adds extra error handling and a new exception, ServiceCannotBeLoaded, to match the exception already there for org load issues. Should have 100% test coverage.

Issues Closed

@prescod prescod requested a review from a team as a code owner September 20, 2022 00:25
@prescod
Copy link
Contributor Author

prescod commented Sep 20, 2022

@jlantz Please look at the linter's suggestions

@prescod
Copy link
Contributor Author

prescod commented Sep 20, 2022

@jlantz I believe that this PR has extraneous files in it but I don't want to delete them until I'm confident which version of the files is most up-to-date.

boakley
boakley previously approved these changes Sep 26, 2022
Copy link
Contributor

@boakley boakley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. 👍

@prescod prescod enabled auto-merge (squash) January 12, 2023 00:38
@salesforce-cla
Copy link

Thanks for the contribution! It looks like @prescod is an internal user so signing the CLA is not required. However, we need to confirm this.

@davidmreed davidmreed merged commit 77a3f4d into main Sep 19, 2023
16 of 17 checks passed
@davidmreed davidmreed deleted the feature/fix-issue-3340 branch September 19, 2023 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setting empty service environment variable throws unhelpful error
5 participants