# Fragment Cache does not report error

**URL:** <https://www.ruby-forum.com/t/fragment-cache-does-not-report-error/145929>\
**Category:** Rails\
**Created:** [August 15, 2008, 6:10am UTC](https://www.ruby-forum.com/t/fragment-cache-does-not-report-error/145929 "2008-08-15T06:10:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharkie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/58f4c7/32.png) [@sharkie](https://www.ruby-forum.com/u/sharkie)\
**Post date:** [August 15, 2008, 6:10am UTC](https://www.ruby-forum.com/t/fragment-cache-does-not-report-error/145929/1 "2008-08-15T06:10:14Z")

</div>

For example, if something goes wrong inside

\<% cache(“similar\_stories:block:” + @story.id.to\_s, {:expire =\>  
60.minutes}) do %\>  
\<% end %\>

Then, I don’t get any error. That fragment just does not get rendered,  
and I will not know about it until someone complains or I notice it  
myself a week later.

Is there a way to get Rails to report this?
