right env variable

This commit is contained in:
Andre Medeiros 2022-03-28 13:23:24 -04:00
parent 274680e82c
commit 7e36609cda

View file

@ -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"),