rabl icon indicating copy to clipboard operation
rabl copied to clipboard

Handling exception rendering collections

Open KrisBraun opened this issue 11 years ago • 1 comments

When rendering a collection, is there a way to catch exceptions when rendering an individual resource? Sometimes model changes cause old resources to fail without making it clear which resource was being rendered. It would be great if I could either leave the failing resource out of the collection, or replace it with an error entry.

KrisBraun avatar Feb 05 '14 20:02 KrisBraun

Hi,

I am getting a similar issue. While rendering a collection of items, if one of the item throws exception, the entire rendering is failing. Is there a way to handle this graciously?

Any help would be appreciated.

mpurusottamc avatar Mar 15 '15 13:03 mpurusottamc