fxnn / gowatch

Configurable logfile analysis for your server.
MIT License
8 stars 2 forks source link

Remove log.Fatalf error handling #16

Open fxnn opened 9 years ago

fxnn commented 9 years ago

Guess it's bad style to have

log.Fatalf("Error message")
return logentry.AcceptNothingPredicate{} // actually never executed

all over the code. The decision to quit immediately should be made only at one place in code; until then, normal error handling (by return) should be used.