Adding try/catch to get it running on Heroku.