Skip to content

Commit

Permalink
panic if reconnect fails
Browse files Browse the repository at this point in the history
  • Loading branch information
gmelika committed Feb 3, 2018
1 parent 60be31b commit 54451aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/syslog/syslog.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (a *Adapter) Stream(logstream chan *router.Message) {
continue
default:
if err = a.retry(buf, err); err != nil {
log.Println("syslog retry err:", err)
log.Panicf("syslog retry err: %+v", err)
return
}
}
Expand Down

0 comments on commit 54451aa

Please sign in to comment.