mirror of
https://github.com/PretendoNetwork/super-mario-maker.git
synced 2026-09-30 20:06:58 -05:00
Don't use fatal log for .env not existing
This commit is contained in:
3
init.go
3
init.go
@@ -2,7 +2,6 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"strconv"
|
||||
"strings"
|
||||
@@ -23,7 +22,7 @@ func init() {
|
||||
|
||||
err = godotenv.Load()
|
||||
if err != nil {
|
||||
log.Fatal("Error loading .env file")
|
||||
globals.Logger.Warning("Error loading .env file")
|
||||
}
|
||||
|
||||
s3Endpoint := os.Getenv("PN_SMM_CONFIG_S3_ENDPOINT")
|
||||
|
||||
Reference in New Issue
Block a user