mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 08:33:24 +02:00
Include an error description for failed installations.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user