Add error info to log

This commit is contained in:
SuperMarioDaBom 2023-07-17 18:36:01 -07:00
parent db972eacc6
commit 69cddb088d

View File

@ -24,7 +24,7 @@ func init() {
err = godotenv.Load()
if err != nil {
globals.Logger.Warning("Error loading .env file")
globals.Logger.Warningf("Error loading .env file: %s", err.Error())
}
globals.AESKey, err = hex.DecodeString(os.Getenv("PN_FRIENDS_CONFIG_AES_KEY"))