fix linting

This commit is contained in:
Kevin Jahns 2017-08-01 16:19:25 +02:00
parent 65e8c29b33
commit 5c33f41c30

View File

@ -276,7 +276,7 @@ export default function extendConnector (Y/* :any */) {
} else if (messageType === 'update' && senderConn.auth === 'write') {
return computeMessageUpdate(decoder, encoder, this, senderConn, sender)
} else {
Promise.reject('Unable to receive message')
Promise.reject(new Error('Unable to receive message'))
}
}
_setSyncedWith (user) {