From nobody Mon Nov 25 12:23:52 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+69492+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+69492+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=nvidia.com ARC-Seal: i=1; a=rsa-sha256; t=1609206431; cv=none; d=zohomail.com; s=zohoarc; b=R6UHXhMpSxiE6BZWo+6IL/hTNSQTg1nY/8Nt3aOLkIpoUsfYQO0Et6KXKhLZM9d9J/pOvwk1u/7cbfZvlYVjlZMi/03FaUH9U0zPIG1WGnUWjCkIRGKtoBaGZ96/u/Sc9OsjaULQk+DAT+TKLZEWBbGTJ/xZ4IFX7gDDYGobuyg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1609206431; h=Content-Type:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=aT0Hz2xyomyXWSaFPygnL/mkZNS8FC6mthV33KmNoXQ=; b=MkRHP/lOuIrsxKsSgQ/j8WCRcfa2xpGOhVzuXjo3rGHqFWgXKl5QS/ozKvG2DYTT4HqlaXW5PYK/hdSg2Ai53KxPu3Md0n6ckOUTGccXwBXTbQ78PlNEiKPTYEU0bhZmMKBQRNwVkg4zTg/0GJMFz3RVmzKbArP2ROilT0boRRI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+69492+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 16092064318821007.2892613307014; Mon, 28 Dec 2020 17:47:11 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 272JYY1788612xTNoM9jA1XD; Mon, 28 Dec 2020 17:47:11 -0800 X-Received: from hqnvemgate25.nvidia.com (hqnvemgate25.nvidia.com [216.228.121.64]) by mx.groups.io with SMTP id smtpd.web08.6640.1609206426041635751 for ; Mon, 28 Dec 2020 17:47:06 -0800 X-Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Mon, 28 Dec 2020 17:47:05 -0800 X-Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 29 Dec 2020 01:47:04 +0000 X-Received: from ipark-ubuntu.nvidia.com (172.20.145.6) by mail.nvidia.com (172.20.187.15) with Microsoft SMTP Server id 15.0.1473.3 via Frontend Transport; Tue, 29 Dec 2020 01:47:03 +0000 From: "Irene Park" To: , , CC: Irene Park Subject: [edk2-devel] [PATCH] BaseTools: Fix the improper error logging Date: Mon, 28 Dec 2020 20:46:54 -0500 Message-ID: X-NVConfidentiality: public MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ipark@nvidia.com X-Gm-Message-State: ZadCAtf5P2gkvPQBakDxmJNmx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609206431; bh=tQr+XVOYUVd8ygj28NNpDqmCjCFPRVhP3tkM0woyNHo=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=den8hfWMGAfgCMwByFrfYsks3qpoxyVj+CP0f5DAh14XGN4cirz8sJ9zMyzDOtHx3d7 pSRp2luYL90UmEJ45jr09JVwXgxtmOAjTk86n1djpHMyxx48UFMEQVzRTGH7aY4KEjoGD Kpk5FMrLeNUKuh5xiyJeI3LOO0QZ4ujt/io= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Irene Park EdkLogger.ERROR() was replaced with EdkLogger.error() to deliver the expected error message when an error occurs. Signed-off-by: Irene Park Reviewed-by: Bob Feng --- BaseTools/Source/Python/AutoGen/GenPcdDb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Source/Python/AutoGen/GenPcdDb.py b/BaseTools/Source= /Python/AutoGen/GenPcdDb.py index 0870c44..ad5dae0 100644 --- a/BaseTools/Source/Python/AutoGen/GenPcdDb.py +++ b/BaseTools/Source/Python/AutoGen/GenPcdDb.py @@ -894,7 +894,7 @@ def CreatePcdDataBase(PcdDBData): delta =3D {} for skuname, skuid in PcdDBData: if len(PcdDBData[(skuname, skuid)][1]) !=3D len(PcdDBData[(TAB_DEF= AULT, "0")][1]): - EdkLogger.ERROR("The size of each sku in one pcd are not same") + EdkLogger.error("build", AUTOGEN_ERROR, "The size of each sku = in one pcd are not same") for skuname, skuid in PcdDBData: if skuname =3D=3D TAB_DEFAULT: continue --=20 2.7.4 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69492): https://edk2.groups.io/g/devel/message/69492 Mute This Topic: https://groups.io/mt/79283023/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-