Skip to content

Commit

Permalink
Deal with empty lines from the monitor.
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin committed Jun 23, 2012
1 parent d597739 commit 4429889
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions monitor/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ func processException(line string) {

func processLine(line string) {
// log.Printf("<: %s", line)
if len(line) < 1 {
return
}
switch line[0] {
default:
log.Printf("UNHANDLED: %s", line)
Expand Down

0 comments on commit 4429889

Please sign in to comment.