Catch exception to prevent pollution of the logs.