From e6097fe5728ee4883ed9e04896994c9d4821804b Mon Sep 17 00:00:00 2001 From: samuel-favarin-dbc Date: Fri, 5 Apr 2024 17:45:23 +0200 Subject: [PATCH 1/3] feat: update log message --- core/dbt/events/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dbt/events/types.py b/core/dbt/events/types.py index b8ce80aa5de..391d0c22002 100644 --- a/core/dbt/events/types.py +++ b/core/dbt/events/types.py @@ -1099,7 +1099,7 @@ def code(self) -> str: return "M030" def message(self) -> str: - return f"The selection criterion '{self.spec_raw}' does not match any nodes" + return f"The selection criterion '{self.spec_raw}' does not match any enabled nodes" class DepsLockUpdating(InfoLevel): From 4c3d977ea1c9b59a119cf5893d292b31654c0d32 Mon Sep 17 00:00:00 2001 From: samuel-favarin-dbc Date: Fri, 5 Apr 2024 17:58:08 +0200 Subject: [PATCH 2/3] chore: add change log --- .changes/unreleased/Features-20240405-175733.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changes/unreleased/Features-20240405-175733.yaml diff --git a/.changes/unreleased/Features-20240405-175733.yaml b/.changes/unreleased/Features-20240405-175733.yaml new file mode 100644 index 00000000000..3b1cd90c506 --- /dev/null +++ b/.changes/unreleased/Features-20240405-175733.yaml @@ -0,0 +1,5 @@ +kind: Features +time: 2024-04-05T17:57:33.047963+02:00 +custom: + Author: SamuelBFavarin + Issue: "9747" From 45324e4e51111765267f2c504002a2b2fb143e28 Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Fri, 5 Apr 2024 12:42:20 -0600 Subject: [PATCH 3/3] Body for changelog entry --- .changes/unreleased/Features-20240405-175733.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.changes/unreleased/Features-20240405-175733.yaml b/.changes/unreleased/Features-20240405-175733.yaml index 3b1cd90c506..0346361fc15 100644 --- a/.changes/unreleased/Features-20240405-175733.yaml +++ b/.changes/unreleased/Features-20240405-175733.yaml @@ -1,4 +1,5 @@ kind: Features +body: Better error message when trying to select a disabled model time: 2024-04-05T17:57:33.047963+02:00 custom: Author: SamuelBFavarin