rabl
rabl copied to clipboard
Handling exception rendering collections
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.
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.