[TASK] Log exception in ClassCacheBuilder

Change-Id: If81dcfbed64a3304a707b08acb4999e6eefd23c6