Browse Source

Print error on TCP listener failure

tags/v0.1.4
Russ Garrett 7 years ago
parent
commit
5fcb658386
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      main.go

+ 1
- 0
main.go View File

@@ -56,6 +56,7 @@ func main() {
56 56
 
57 57
 	irccat.tcp, err = tcplistener.New()
58 58
 	if err != nil {
59
+		log.Criticalf("Error starting TCP listener: %s", err)
59 60
 		return
60 61
 	}
61 62
 

Loading…
Cancel
Save