From 4c4a3fc02c5784d5ffcd7959eaff2d727c4037c1 Mon Sep 17 00:00:00 2001 From: Tom Owers Date: Thu, 21 Mar 2024 15:10:07 +0100 Subject: [PATCH] fix(hogql): Allow missing aggregate errors to reach the UI (#21070) Allow missing aggregate errors to reach the UI --- posthog/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/errors.py b/posthog/errors.py index 39f07be762d00..afa0cdd8648e7 100644 --- a/posthog/errors.py +++ b/posthog/errors.py @@ -151,7 +151,7 @@ def look_up_error_code_meta(error: ServerException) -> ErrorCodeMeta: 60: ErrorCodeMeta("UNKNOWN_TABLE"), 61: ErrorCodeMeta("ONLY_FILTER_COLUMN_IN_BLOCK"), 62: ErrorCodeMeta("SYNTAX_ERROR"), - 63: ErrorCodeMeta("UNKNOWN_AGGREGATE_FUNCTION"), + 63: ErrorCodeMeta("UNKNOWN_AGGREGATE_FUNCTION", user_safe=True), 64: ErrorCodeMeta("CANNOT_READ_AGGREGATE_FUNCTION_FROM_TEXT"), 65: ErrorCodeMeta("CANNOT_WRITE_AGGREGATE_FUNCTION_AS_TEXT"), 66: ErrorCodeMeta("NOT_A_COLUMN"),