Check for errors in nginx template

This commit is contained in:
Manuel de Brito Fontes 2016-07-28 17:35:36 -04:00
parent 9f64273b9c
commit 0886c7e58a
5 changed files with 64 additions and 9 deletions

View file

@ -88,7 +88,7 @@ func (t *taskQueue) worker() {
}
glog.V(3).Infof("syncing %v", key)
if err := t.sync(key.(string)); err != nil {
glog.V(3).Infof("requeuing %v, err %v", key, err)
glog.Warningf("requeuing %v, err %v", key, err)
t.requeue(key.(string))
} else {
t.queue.Forget(key)