Don't use the error message as the format string. If the message has a % in it, the output will be mangled. You want
  c.Errorf("%v", err)