Merge "Add error logging in GetRootOfTrust"