diff --git a/main.go b/main.go index 387f2fe..1979342 100644 --- a/main.go +++ b/main.go @@ -15,7 +15,6 @@ package main import ( - "log" "os" "clickandjoin.app/storageserver/modules/config" @@ -49,7 +48,7 @@ func main() { router.SetupRoutes(app) if len(os.Args) < 2 { - log.Fatalln("Please specify port") + gocnjhelper.LogFatal("Please specify port") } app.Listen("127.0.0.1:" + os.Args[1])