heroku nav exception handling