0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

handle errors from peer

This commit is contained in:
Zack Scholl 2019-04-12 12:15:09 -07:00
parent 8a843a6a85
commit 93a3ec70e7
2 changed files with 14 additions and 2 deletions

View file

@ -2,6 +2,7 @@ package main
import (
"flag"
"fmt"
"github.com/schollz/croc/v5/src/croc"
)
@ -43,6 +44,6 @@ func main() {
err = c.Receive()
}
if err != nil {
panic(err)
fmt.Println(err)
}
}