1
0
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:
Tim Daubenschütz 2015-10-19 16:01:05 +02:00
parent 757ee40e4e
commit f82278070b

View File

@ -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);
}); });
} }
} }