Handle Heroku errors with a configurable error handler

The default is to just print the error and its backtrace. Most of the time it is not worth the exception when autoscale cannot happen,
and it will hopefully happen next time.