Yikes! Fair enough catching and trying to continue; exception might have been coincidence (straw that broke the camel's back). But just in case, this is ok.

Maybe shouldn't log the x.toString though, in case it's a really big thing (e.g. a big list)?