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

docs: update error message to provide alternative scenario #600

Merged
merged 4 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion messages/subscriber_package_version.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# errorInvalidIdNoRecordFound

The subscriber package version %s is invalid, no subscriber package version record found.
The subscriber package version %s is either invalid or not yet available on your instance of salesforce.com. First double-check the ID to ensure it's correct. If it is, check back after a while and retry the package install.

# errorInvalidAliasOrId

Expand Down
2 changes: 1 addition & 1 deletion test/package/subscriberPackageVersion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ describe('subscriberPackageVersion', () => {
} catch (e) {
const error = e as Error;
expect(error.message).to.match(
/The subscriber package version 04txxxxxxxxxxxxxxy is invalid, no subscriber package version record found/,
/The subscriber package version 04txxxxxxxxxxxxxxy is either invalid or not yet available on your instance of salesforce.com. {2}First double-check the ID to ensure it's correct. {2}If it is, check back after a while and retry the package install./,
error.message
);
expect(queryStub.called).to.be.true;
Expand Down
Loading