You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Add adb output to error message when install fails
(cherry picked from commit de2acbd495)
This commit is contained in:
committed by
Rémi Verschelde
parent
5359b1dcc1
commit
aeb8cf2d2b
@@ -1935,7 +1935,7 @@ public:
|
|||||||
err = OS::get_singleton()->execute(adb, args, true, NULL, &output, &rv, true);
|
err = OS::get_singleton()->execute(adb, args, true, NULL, &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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user