Skip to content

Commit

Permalink
update panic message
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-dzeda committed Jan 25, 2024
1 parent c4d1a01 commit 3c61afe
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 @@ -50,7 +50,7 @@ func getEnvVars() {

if err != nil {
ServiceHalted(Event{Help: fmt.Sprintf("Unable to load environment variables in env %s; message: %s", env, err.Error())})
panic("Unable to start application without loading environment variables.")
panic(fmt.Sprintf("Unable to load environment variables in env %s; message: %s. Exiting.", env, err.Error()))
}
DefaultScope = os.Getenv("SSAS_DEFAULT_SYSTEM_SCOPE")
if DefaultScope == "" {
Expand Down

0 comments on commit 3c61afe

Please sign in to comment.