add try except
Merge branch 'master' of https://github.com/fishkao/webhome
minor change