Error classification in Heroku