mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 03:42:10 +03:00
added bugsnag event notifiers on vote failure
This commit is contained in:
parent
7f2798a94a
commit
241672948b
@ -817,6 +817,7 @@ const _vote = (currentAccount, pin, author, permlink, weight) => {
|
||||
resolve(result.result);
|
||||
})
|
||||
.catch((err) => {
|
||||
bugsnagInstance.notify(err);
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
@ -847,6 +848,7 @@ const _vote = (currentAccount, pin, author, permlink, weight) => {
|
||||
if (err && get(err, 'jse_info.code') === 4030100) {
|
||||
err.message = getDsteemDateErrorMessage(err);
|
||||
}
|
||||
bugsnagInstance.notify(err);
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user