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:
@@ -130,14 +130,15 @@ module.exports = function TransactionServiceFactory(socket) {
|
||||
if (message.data) {
|
||||
result.lastData = result.data[seq] = message.data
|
||||
}
|
||||
if (message.body) {
|
||||
result.body = JSON.parse(message.body)
|
||||
}
|
||||
}
|
||||
else {
|
||||
result.lastData = result.error = message.data
|
||||
}
|
||||
|
||||
if (message.body) {
|
||||
result.body = JSON.parse(message.body)
|
||||
}
|
||||
|
||||
resolver.resolve(result)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user