Parcourir la source

No need to panic

Piotr Czajkowski il y a 6 ans
Parent
commit
0c3c5df7f9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      server.go

+ 1 - 1
server.go

@@ -80,7 +80,7 @@ func main() {
 	flag.Parse()
 	app.SetBaseURL(*url)
 	if app.BaseURL == "" {
-		log.Panicln("Can't do anything without URL to API")
+		log.Fatalln("Can't do anything without URL to API")
 	}
 
 	app.Login()