mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 21:27:42 +00:00
right env variable
This commit is contained in:
parent
274680e82c
commit
7e36609cda
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ import (
|
||||||
func Execute(ctx context.Context) int {
|
func Execute(ctx context.Context) int {
|
||||||
_ = godotenv.Load()
|
_ = godotenv.Load()
|
||||||
|
|
||||||
if key, ok := os.LookupEnv("BUGSNAG_KEY"); ok {
|
if key, ok := os.LookupEnv("BUGSNAG_API_KEY"); ok {
|
||||||
bugsnag.Configure(bugsnag.Configuration{
|
bugsnag.Configure(bugsnag.Configuration{
|
||||||
APIKey: key,
|
APIKey: key,
|
||||||
ReleaseStage: os.Getenv("ENV"),
|
ReleaseStage: os.Getenv("ENV"),
|
||||||
|
|
Loading…
Reference in a new issue