chore: Fix linter issues

This commit is contained in:
2024-01-01 20:07:43 +01:00
parent 3012878c94
commit ebdd56013d
2 changed files with 2 additions and 4 deletions

View File

@@ -108,7 +108,8 @@ func runServer(ctx *cli.Context) error {
addr := ctx.String("listen-host") + ":" + ctx.String("listen-port")
listener, err := net.Listen("tcp", addr)
if err != nil {
fmt.Errorf("Failed to create listener: %v", err)
errMsg := fmt.Errorf("Failed to create listener: %v", err)
fmt.Println(errMsg.Error())
return err
}