mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 12:21:31 +03:00
returning error after bugsnag notify
This commit is contained in:
parent
95df3848a5
commit
1abb0a07db
@ -403,6 +403,7 @@ export const getLeaderboard = async (duration:'day'|'week'|'month') => {
|
|||||||
return rawData;
|
return rawData;
|
||||||
} catch(error) {
|
} catch(error) {
|
||||||
bugsnagInstance.notify(error)
|
bugsnagInstance.notify(error)
|
||||||
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user