Add more debug

This commit is contained in:
Leonid Bugaev
2015-09-04 17:44:14 +03:00
parent 766bbc6127
commit 5dcec259d6
+1 -1
View File
@@ -196,7 +196,7 @@ func (t *Listener) processTCPPacket(packet *TCPPacket) {
// Don't exit on panic
defer func() {
if r := recover(); r != nil {
log.Println("PANIC: pkg:", r, string(debug.Stack()))
log.Println("PANIC: pkg:", r, packet, string(debug.Stack()))
}
}()