From e904714094b971b149af989af1334800e240f25e Mon Sep 17 00:00:00 2001 From: Chenyu Li Date: Fri, 13 Dec 2024 15:54:51 -0800 Subject: [PATCH] change to internal error --- core/dbt/artifacts/schemas/manifest/v12/manifest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/dbt/artifacts/schemas/manifest/v12/manifest.py b/core/dbt/artifacts/schemas/manifest/v12/manifest.py index e59ef02efee..b3b2ac82f21 100644 --- a/core/dbt/artifacts/schemas/manifest/v12/manifest.py +++ b/core/dbt/artifacts/schemas/manifest/v12/manifest.py @@ -28,6 +28,7 @@ schema_version, ) from dbt.artifacts.schemas.upgrades import upgrade_manifest_json +from dbt_common.exceptions import DbtInternalError NodeEdgeMap = Dict[str, List[str]] UniqueID = str @@ -187,6 +188,6 @@ def validate(cls, _): # that are not present in the schema, from_dict will work fine. # As long as validate is not called, the schema will not be enforced. # This is intentional, as it allows for safer schema upgrades. - raise RuntimeError( + raise DbtInternalError( "The WritableManifest should never be validated directly to allow for schema upgrades." )