Like with reflection, there’s also an exit
color for refractions. After a ray has
refracted the max depth number of times,
this exit color will come in to play. Tick
the check box and give it a flashy green
color. Hit render. You can clearly see what
parts of the image go over the max depth
number (5).
Make the exit color black again.