Skip to content

Commit ff94393

Browse files
committed
emit_log_topic.go: Removed unreachable panic()
log.Fatalf() exist the program, so a following panic() is unnecessary
1 parent 799d243 commit ff94393

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

go/emit_log_topic.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import (
1212
func failOnError(err error, msg string) {
1313
if err != nil {
1414
log.Fatalf("%s: %s", msg, err)
15-
panic(fmt.Sprintf("%s: %s", msg, err))
1615
}
1716
}
1817

0 commit comments

Comments
 (0)