Show returned errors from Serve().
This commit is contained in:
parent
12c6fe64ba
commit
bcbebd4ddb
3
ss13.go
3
ss13.go
@ -74,7 +74,8 @@ func run_server(c *cli.Context) {
|
|||||||
PrivServersFile: c.GlobalString("private-servers"),
|
PrivServersFile: c.GlobalString("private-servers"),
|
||||||
}
|
}
|
||||||
instance.Init()
|
instance.Init()
|
||||||
instance.Serve(c.GlobalString("addr"))
|
e := instance.Serve(c.GlobalString("addr"))
|
||||||
|
ss13.LogError(e)
|
||||||
}
|
}
|
||||||
|
|
||||||
func update_stats(c *cli.Context) {
|
func update_stats(c *cli.Context) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user