We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a83c882 + d9ee8b0 commit 8f93ec4Copy full SHA for 8f93ec4
ui/store/actions.js
@@ -3158,11 +3158,17 @@ export function updateSmartTransaction(uuid, txData) {
3158
}
3159
3160
export function fetchSmartTransactionsStatus(uuids) {
3161
- return async () => {
+ return async (dispatch) => {
3162
try {
3163
await promisifiedBackground.fetchSmartTransactionsStatus(uuids);
3164
} catch (e) {
3165
log.error(e);
3166
+ if (isPersistentError(e)) {
3167
+ dispatch({
3168
+ type: actionConstants.SET_SMART_TRANSACTIONS_ERROR,
3169
+ payload: e.message,
3170
+ });
3171
+ }
3172
3173
};
3174
0 commit comments