1
0
Fork 0
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:
Simo Kinnunen 2014-09-04 16:23:25 +09:00
parent 02fb1f9add
commit 73c8e52bce
4 changed files with 50 additions and 5 deletions

View file

@ -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) {