add request exception logging

Nice catch, I forgot to update that, it should be logger.error in app.py too