Fixed the bug for no formatting directive in Errorf call

This commit is contained in:
Henry Hu 2016-02-03 22:19:15 +08:00
parent 5ca182c92b
commit 9443dea981
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ func (s *Socket) Start() error {
c.WithDefaults()
if err := c.Validate(); err != nil {
return fmt.Errorf("Socket input configuration is error! ", err.Error())
return fmt.Errorf("Socket input configuration is error: %s ", err.Error())
}
s.config = c