mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Allow all pending transaction results to be cancelled.
This commit is contained in:
parent
f46540e51e
commit
b0400130ff
2 changed files with 32 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue