panic output detail info

This commit is contained in:
Gordon
2021-11-26 14:20:50 +08:00
parent b1244c0a1b
commit 72b09864ce
8 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ func init() {
// see https://gist.github.com/jniltinho/9787946#gistcomment-3019898
conn, err := net.Dial("udp", "8.8.8.8:80")
if err != nil {
panic(err)
panic(err.Error())
}
defer conn.Close()