From 7e36609cda2cb97507951f6c0246dea01772b306 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Mon, 28 Mar 2022 13:23:24 -0400 Subject: [PATCH] right env variable --- internal/cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/root.go b/internal/cmd/root.go index eaff9f3..b926906 100644 --- a/internal/cmd/root.go +++ b/internal/cmd/root.go @@ -15,7 +15,7 @@ import ( func Execute(ctx context.Context) int { _ = godotenv.Load() - if key, ok := os.LookupEnv("BUGSNAG_KEY"); ok { + if key, ok := os.LookupEnv("BUGSNAG_API_KEY"); ok { bugsnag.Configure(bugsnag.Configuration{ APIKey: key, ReleaseStage: os.Getenv("ENV"),