Skip to content

Commit

Permalink
add exit message
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-dzeda committed Jan 9, 2024
1 parent 5cf670b commit 6bb7d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssas/systems.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func getEnvVars() {
err := godotenv.Load(envPath)

if err != nil {
//ssas.Logger.Error("Unable to load environment file, exiting.")
ServiceHalted(Event{Help: "Unable to load environment variables."})
os.Exit(-1)
}
DefaultScope = os.Getenv("SSAS_DEFAULT_SYSTEM_SCOPE")
Expand Down

0 comments on commit 6bb7d01

Please sign in to comment.