From c42fc4cc328adee81143dfe467137e75fc313cfc Mon Sep 17 00:00:00 2001 From: William Mak Date: Fri, 22 Nov 2024 16:45:36 -0500 Subject: [PATCH] fix: remove test code --- src/sentry/search/events/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sentry/search/events/fields.py b/src/sentry/search/events/fields.py index 63ef46a1f2993f..206948b42cbb51 100644 --- a/src/sentry/search/events/fields.py +++ b/src/sentry/search/events/fields.py @@ -1143,7 +1143,7 @@ def _normalize(self, value: str) -> str: if match and match.group("type") == "number": return value if not snuba_column: - raise InvalidFunctionArgument(f"{value} is not a valid column?") + raise InvalidFunctionArgument(f"{value} is not a valid column") elif snuba_column not in ["time", "timestamp", "duration"]: raise InvalidFunctionArgument(f"{value} is not a numeric column") return snuba_column