returning error after bugsnag notify

This commit is contained in:
noumantahir 2022-05-21 12:43:08 +05:00
parent 95df3848a5
commit 1abb0a07db

View File

@ -403,6 +403,7 @@ export const getLeaderboard = async (duration:'day'|'week'|'month') => {
return rawData;
} catch(error) {
bugsnagInstance.notify(error)
throw error;
}
}