We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57e5fde + 6188cd2 commit e010641Copy full SHA for e010641
main.go
@@ -29,7 +29,7 @@ var staticFiles embed.FS
29
func main() {
30
err := godotenv.Load(".env")
31
if err != nil {
32
- log.Fatalf("Error loading .env file: %v", err)
+ log.Printf("warning: assuming default configuration. .env unreadable: %v", err)
33
}
34
35
port := os.Getenv("PORT")
0 commit comments