From 34b229ee15cfd7fbe29ba8de4b01b052a5e2d8e7 Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Mon, 17 Oct 2022 11:14:14 +0200 Subject: [PATCH] feat(chalice): get error details fixed empty-default-value for error tags --- api/chalicelib/core/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/chalicelib/core/errors.py b/api/chalicelib/core/errors.py index ba7ce4085..07a7fe200 100644 --- a/api/chalicelib/core/errors.py +++ b/api/chalicelib/core/errors.py @@ -135,7 +135,7 @@ def get_details(project_id, error_id, user_id, **data): country_partition, chart24, chart30, - COALESCE(tags,'{{}}')::jsonb AS custom_tags + COALESCE(tags,'[]')::jsonb AS custom_tags FROM (SELECT error_id, name, message,