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 sentry to grid deployer #1269

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open

Conversation

rawdaGastan
Copy link
Collaborator

Related Issues


return gridSentry{
sentryInfo: &sentryInfo{twinID: twinID},
}, sentry.Init(sentry.ClientOptions{
Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest you initialize sentry in a separate step so it's clear what you're doing

Comment on lines +9 to +15
type gridSentry struct {
*sentryInfo
}

type sentryInfo struct {
twinID uint32
}
Copy link
Contributor

Choose a reason for hiding this comment

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

is there a reason for creating two structs here?

}, sentry.Init(sentry.ClientOptions{
Dsn: SentryDSN[network],
Environment: network,
Debug: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

can you use the debug flag passed on creating the plugin

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.

2 participants