Add support for logging errors while thumbnailing