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

fix: missing metadata type error matches toolbelt #155

Merged
merged 2 commits into from
Jul 29, 2021

Conversation

WillieRuemmele
Copy link
Contributor

What does this PR do?

catches and transforms the SDR error for a missing metadata type to match the toolbelt's

should hopefully defer blame to the user rather than us

What issues does this PR fix or reference?

@W-9657211@

Copy link
Contributor

@mshanemc mshanemc left a comment

Choose a reason for hiding this comment

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

ok to defer for now, but if you do, create a nice WI that points to this section of code so we remember where it should go

csAggregator.push(...finalized);
}
} catch (e) {
if ((e as Error).message.includes('Missing metadata type definition in registry for id')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we logging this via telemetry (it could be that the regular exception logging picks them up ok)

If not, it'd be great to have these as a type of exception, with the mdtype(s) in there, so we can use that data to help MD owners know customers are trying to deploy their feature AND help us prioritize support gaps.

@vamsimundra vamsimundra merged commit 45ec6d0 into main Jul 29, 2021
@vamsimundra vamsimundra deleted the wr/unsupportedMDtype branch July 29, 2021 19:57
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