Same thing as above, one way to check how this looks would be to make the code look like this:

```Go
if err == nil {
  log.Printf("ERROR: ... %s", errors.New("foo"))
}
```
and see what it looks like. If it's formatting strangely, I think you should call `Error()` to get the error string.