fix: print shutdown error correctly
This commit is contained in:
parent
f0e1b3076f
commit
e8460c3e65
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ func StartServer(ctx context.Context, port string) {
|
||||||
defer cancelShutdown()
|
defer cancelShutdown()
|
||||||
err := server.Shutdown(ctxShutdown)
|
err := server.Shutdown(ctxShutdown)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Shutdown(): %w", err)
|
log.Fatalf("Shutdown(): %v", err)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue