mirror of
https://github.com/openstf/stf
synced 2025-10-03 17:59:28 +02:00
Include an error description for failed installations.
This commit is contained in:
parent
02fb1f9add
commit
73c8e52bce
4 changed files with 50 additions and 5 deletions
|
@ -49,12 +49,13 @@ var wireutil = {
|
|||
, body ? JSON.stringify(body) : null
|
||||
))
|
||||
}
|
||||
, fail: function(data) {
|
||||
, fail: function(data, body) {
|
||||
return wireutil.envelope(new wire.TransactionDoneMessage(
|
||||
source
|
||||
, seq++
|
||||
, false
|
||||
, data || 'fail'
|
||||
, body ? JSON.stringify(body) : null
|
||||
))
|
||||
}
|
||||
, progress: function(data, progress) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue