mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Log before dispatch in PieceActions
This commit is contained in:
parent
757ee40e4e
commit
f82278070b
@ -19,8 +19,8 @@ class PieceActions {
|
|||||||
this.actions.updatePiece(res.piece);
|
this.actions.updatePiece(res.piece);
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
this.actions.pieceFailed(err.json);
|
|
||||||
console.logGlobal(err);
|
console.logGlobal(err);
|
||||||
|
this.actions.pieceFailed(err.json);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user