[PATCH 1/2] Log failed imports in the collect functions