Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions managedplugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ type Config struct {
Version string
Environment []string // environment variables to pass to the plugin in key=value format
DockerAuth string
SentryDSN string
}

type Client struct {
Expand Down Expand Up @@ -549,6 +550,8 @@ func (c *Client) getPluginArgs() []string {
}
if c.noSentry {
args = append(args, "--no-sentry")
} else if len(c.config.SentryDSN) > 0 {
args = append(args, "--sentry-dsn", c.config.SentryDSN)
}
if c.licenseFile != "" {
args = append(args, "--license", c.licenseFile)
Expand Down