Return last context on error

pull/41/head
Laurent Cozic 2017-07-20 21:15:28 +01:00
parent 7bea097b42
commit aee3e9e4bf
1 changed files with 2 additions and 2 deletions

View File

@ -169,8 +169,8 @@ class Synchronizer {
let synchronizationId = time.unixMs().toString();
let outputContext = {};
let outputContext = Object.assign({}, lastContext);
this.state_ = 'in_progress';
this.dispatch({ type: 'SYNC_STARTED' });