Cleanup the error handling in import thumbnails