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 resources bug #907

Merged
merged 2 commits into from
Apr 8, 2023
Merged

Fix resources bug #907

merged 2 commits into from
Apr 8, 2023

Conversation

wirednkod
Copy link
Contributor

Fixes #906

@wirednkod wirednkod requested a review from pepoviola April 7, 2023 22:00
@@ -56,8 +56,11 @@ export class GrafanaResource {
`${this.dataSourcesPath}/prometheus.yml`,
grafanaConfig,
);
} catch {
throw new Error("Error generating config for grafana resource");
Copy link
Collaborator

Choose a reason for hiding this comment

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

We shouldn't use this pattern, since the error message don't add any extra value about the err.

@pepoviola pepoviola merged commit eff0684 into main Apr 8, 2023
@pepoviola pepoviola deleted the nik-fix-resources branch April 8, 2023 14:44
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.

[Breaking] Error generating config from resources
2 participants