fix a log message

pull/144/head
John Shahid 2013-12-12 11:57:27 -05:00
parent cdef0f547f
commit 7169a158e3
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ func (s *RaftServer) processCommandHandler(w http.ResponseWriter, req *http.Requ
command = &AddPotentialServerCommand{}
}
if result, err := s.marshalAndDoCommandFromBody(command, req); err != nil {
log.Error("ERROR processCommandHanlder", err)
log.Error("ERROR processCommandHanlder: %s", err)
http.Error(w, err.Error(), http.StatusInternalServerError)
} else {
if result != nil {