Merge pull request #139 from eaburns/dev/eaburns

Better error handling on /refreshAll.
Revert the last commit and add more debugging in /refreshAll.

The last commit was nonesense. That len(errs)>0 is already checked in
the defered function so that it is handled on all return paths.