added error logging
Merge branch 'master' of https://github.com/jasuka/pyBot