accidentally removed this err check
This commit is contained in:
parent
e24c5cacc3
commit
7c304b8c00
1 changed files with 4 additions and 1 deletions
5
main.go
5
main.go
|
@ -47,7 +47,10 @@ func main() {
|
|||
if err != nil {
|
||||
log.Fatalf("Failed to parse configuration file: %s\n", err)
|
||||
}
|
||||
s := server.New(conf)
|
||||
s, err := server.New(conf)
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to create server: %s\n", err)
|
||||
}
|
||||
|
||||
go func() {
|
||||
c := make(chan os.Signal, 1)
|
||||
|
|
Loading…
Add table
Reference in a new issue