From 3d22b716bd47b4fa18e8b25c970fb37ba54312b8 Mon Sep 17 00:00:00 2001 From: norohind <60548839+norohind@users.noreply.github.com> Date: Sun, 19 Dec 2021 00:35:35 +0300 Subject: [PATCH] @errors_catcher for model.get_leaderboard_by_action_id --- model/postgres_model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/model/postgres_model.py b/model/postgres_model.py index 8aba307..449b4fe 100644 --- a/model/postgres_model.py +++ b/model/postgres_model.py @@ -167,6 +167,7 @@ class PostgresModel(AbstractModel): return result + @errors_catcher def get_leaderboard_by_action_id(self, action_id: int) -> list[dict]: cache_key = f'leaderboard_by_action_id_{action_id}'