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." )