replace panic with fmt

This commit is contained in:
wangzhezhe 2016-01-04 13:49:26 +08:00
parent 95a6e4e87c
commit 768aba06cf

View File

@ -103,7 +103,7 @@ func (self *elasticStorage) AddStats(ref info.ContainerReference, stats *info.Co
Do()
if err != nil {
// Handle error
fmt.Errorf("failed to write stats to ElasticSearch - %s", err)
fmt.Printf("failed to write stats to ElasticSearch - %s", err)
return
}
}()