apotomo
apotomo copied to clipboard
rescue_from doesn't work
rescue_from doesn't work in a widget.
You can add include ActionController::Rescue
to the ApotomoWidget subclass to allow you to call rescue_from
but if there is an exception, then it renders as "true" regardless of what the rescue_from
handler actually should do.
This would be really cool because it would allow widgets to fail without taking the whole application down. Such as if you had a news widget or something non-vital like that.