Catch the exception in logic of finding templates.

How about print some message here?