From 1abb0a07dbc6599bf7ed01c06d47460179ebab55 Mon Sep 17 00:00:00 2001 From: noumantahir Date: Sat, 21 May 2022 12:43:08 +0500 Subject: [PATCH] returning error after bugsnag notify --- src/providers/ecency/ecency.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/providers/ecency/ecency.ts b/src/providers/ecency/ecency.ts index b02296270..904d3a30d 100644 --- a/src/providers/ecency/ecency.ts +++ b/src/providers/ecency/ecency.ts @@ -403,6 +403,7 @@ export const getLeaderboard = async (duration:'day'|'week'|'month') => { return rawData; } catch(error) { bugsnagInstance.notify(error) + throw error; } }