mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-21 16:25:13 +02:00
Allow all pending transaction results to be cancelled.
This commit is contained in:
@@ -478,13 +478,12 @@ module.exports = function(options) {
|
||||
}
|
||||
})
|
||||
.catch(function(err) {
|
||||
var reply = wireutil.reply('storage')
|
||||
log.error('Storage upload had an error', err.stack)
|
||||
leaveChannel(responseChannel)
|
||||
push.send([
|
||||
channel
|
||||
, reply.fail('fail')
|
||||
])
|
||||
socket.emit('tx.cancel', responseChannel, {
|
||||
success: false
|
||||
, data: 'fail_upload'
|
||||
})
|
||||
})
|
||||
})
|
||||
.on('forward.test', function(channel, responseChannel, data) {
|
||||
|
||||
Reference in New Issue
Block a user