Add adb output to error message when install fails
This commit is contained in:
parent
0a6a71973e
commit
de2acbd495
|
@ -1849,7 +1849,7 @@ public:
|
||||||
err = OS::get_singleton()->execute(adb, args, &output, &rv, true);
|
err = OS::get_singleton()->execute(adb, args, &output, &rv, true);
|
||||||
print_verbose(output);
|
print_verbose(output);
|
||||||
if (err || rv != 0) {
|
if (err || rv != 0) {
|
||||||
EditorNode::add_io_error("Could not install to device.");
|
EditorNode::add_io_error("Could not install to device: " + output);
|
||||||
CLEANUP_AND_RETURN(ERR_CANT_CREATE);
|
CLEANUP_AND_RETURN(ERR_CANT_CREATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue