fix all issues
This commit is contained in:
@@ -179,6 +179,13 @@ func main() {
|
||||
log.Fatal("GO_ENV is not set in main. Please set the GO_ENV environment variable.")
|
||||
}
|
||||
|
||||
// Validate JWT_KEY is set
|
||||
jwtKey := os.Getenv("JWT_KEY")
|
||||
if jwtKey == "" {
|
||||
log.Fatal("JWT_KEY is not set. Please set the JWT_KEY environment variable.")
|
||||
}
|
||||
log.Println("JWT_KEY loaded successfully")
|
||||
|
||||
DSN := os.Getenv("DSN")
|
||||
if DSN == "" {
|
||||
log.Fatal("Sentry DSN is not set. Please set the DSN environment variable.")
|
||||
|
||||
Reference in New Issue
Block a user