Skip to content

Commit 4e2204e

Browse files
author
Matthew Fisher
committed
Merge pull request #3929 from bacongobbler/fix-logger-panic
fix(logger): reduce severity of log failure
2 parents b7cf655 + 4f7ad8a commit 4e2204e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

logger/drain/drain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func SendToDrain(m string, drain string) error {
2626
func sendToSyslogDrain(m string, drain string) error {
2727
conn, err := net.Dial("udp", drain)
2828
if err != nil {
29-
log.Fatal(err)
29+
log.Print(err)
3030
}
3131
defer conn.Close()
3232
fmt.Fprintf(conn, m)

0 commit comments

Comments
 (0)