From c5565114bf28147b47e3afd16445dc7cfe0a875c Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 17 Feb 2023 22:55:28 +0100 Subject: [PATCH] changed logger --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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])