Skip to content

Commit

Permalink
Merge pull request #380 from sfoxhq/feature/panic-on-disconnect
Browse files Browse the repository at this point in the history
panic if reconnect fails
  • Loading branch information
michaelshobbs authored Feb 8, 2018
2 parents 60be31b + 54451aa commit 5839e0b
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 5839e0b

Please sign in to comment.