Determining is a Partial is Rendering

Is there a way to determine if the current render cycle is for a

I have an exception handler setup, but I'd like to re-throw the
exception if it is thrown while rendering a partial.

Thanks for any advice,

You could check out thread.backtrace and maybe parse it.

andrew4ta wrote: