Skip to content

Conversation

@EstebanRomero84
Copy link
Collaborator

What does this PR do?

Updates the DCD channel name to include the namespace prefix sf_devops__.

What issues does this PR fix or reference?

W-14050465

Functionality Before

The plugin attempts to subscribe to DCD channel to monitor the progress operation. In production orgs it fails because the channel name is missing the prefix.

Functionality After

The plugin successfully subscribes to DCD channel.

*/
protected catch(error: Error | SfError): Promise<SfCommand.Error> {
if (error.name.includes('GenericTimeoutError')) {
if (error.name && error.name.includes('GenericTimeoutError')) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I added this check because it was failing due to null pointe.

Copy link
Contributor

@npiccolo npiccolo left a comment

Choose a reason for hiding this comment

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

Looks good !!
Thanks Esteban !

@EstebanRomero84 EstebanRomero84 merged commit b57eac8 into fix-cdc-channel-name Aug 31, 2023
EstebanRomero84 added a commit that referenced this pull request Aug 31, 2023
* fix: add package prefix to CDC channel name (#229)

* chore(release): 1.1.1-beta.0

---------

Co-authored-by: svc-cli-bot <svc_cli_bot@salesforce.com>
@EstebanRomero84 EstebanRomero84 deleted the Esteban-W-14050465 branch September 1, 2023 14:52
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.

3 participants