more error logging
Merge branch 'master' into gh-pages

* master:
  more error logging