mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-24 13:53:23 +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);
|
resolve(result.result);
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
bugsnagInstance.notify(err);
|
||||||
reject(err);
|
reject(err);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -847,6 +848,7 @@ const _vote = (currentAccount, pin, author, permlink, weight) => {
|
|||||||
if (err && get(err, 'jse_info.code') === 4030100) {
|
if (err && get(err, 'jse_info.code') === 4030100) {
|
||||||
err.message = getDsteemDateErrorMessage(err);
|
err.message = getDsteemDateErrorMessage(err);
|
||||||
}
|
}
|
||||||
|
bugsnagInstance.notify(err);
|
||||||
reject(err);
|
reject(err);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user