-
Notifications
You must be signed in to change notification settings - Fork 4
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
base: development
Are you sure you want to change the base?
Conversation
c124d3e
to
ae48e92
Compare
ae48e92
to
33a2f17
Compare
|
||
return gridSentry{ | ||
sentryInfo: &sentryInfo{twinID: twinID}, | ||
}, sentry.Init(sentry.ClientOptions{ |
There was a problem hiding this comment.
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
type gridSentry struct { | ||
*sentryInfo | ||
} | ||
|
||
type sentryInfo struct { | ||
twinID uint32 | ||
} |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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
Related Issues