Skip to content

Commit

Permalink
code review update
Browse files Browse the repository at this point in the history
  • Loading branch information
fffw committed Mar 11, 2015
1 parent f490e89 commit 59b7bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github.com/getlantern/flashlight/logging/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func (w logglyErrorWriter) Write(b []byte) (int, error) {
default:
message = parts[pl-2] + ":" + parts[pl-1]
}
message = strings.Trim(message, " \n")
message = strings.TrimSpace(message)

pos := strings.IndexRune(fullMessage, ':')
if pos == -1 {
Expand Down

0 comments on commit 59b7bdb

Please sign in to comment.