Merge pull request #49746 from madmiraal/fix-49588

Add adb output to error message when install fails
This commit is contained in:
Rémi Verschelde 2021-06-19 21:39:35 +02:00 committed by GitHub
commit d7a42a44be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1849,7 +1849,7 @@ public:
err = OS::get_singleton()->execute(adb, args, &output, &rv, true);
print_verbose(output);
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);
}