summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2021-06-19 17:46:57 +0100
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2021-06-19 17:46:57 +0100
commitde2acbd4955950b5d37eca396b6ec4aadb872578 (patch)
tree246e754cf004e0a4ea36f27af18a943f1da26927
parent0a6a71973e50e31fef7b91658ab713ae5db5033f (diff)
Add adb output to error message when install fails
-rw-r--r--platform/android/export/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp
index 1a0c206e28..4262cc1a50 100644
--- a/platform/android/export/export.cpp
+++ b/platform/android/export/export.cpp
@@ -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);
}