Add adb output to error message when install fails

(cherry picked from commit de2acbd495)
This commit is contained in:
Marcel Admiraal 2021-06-19 17:46:57 +01:00 committed by Rémi Verschelde
parent cd96e30fee
commit 42c9fefcca
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

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