Commit 797cdc12 authored by jonas's avatar jonas

Better logging

parent 76c828b4
Pipeline #722 passed with stage
in 21 seconds
......@@ -15,3 +15,4 @@
# vendor/
......@@ -36,7 +36,7 @@ func (a *App) Serve() {
signal.Notify(c, os.Interrupt)
log.Println("shutting down server")
log.Println("stopping server")
ctx, cancel := context.WithTimeout(context.Background(), time.Second*Timeout)
defer cancel()
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment