summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2019-03-19 19:44:43 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-03-19 19:44:43 +0000
commit965d0c38c84834fd4a517b97c696a686a5d1219a (patch)
tree1576f2916ad558a96fcb67025030a7d5990a3133 /debuggerd/handler/debuggerd_handler.cpp
parentaffe351420e54712c7275176d4e96cea6a83e666 (diff)
parent5e8d68c2b22553c44d64e41b96833da770d1f109 (diff)
Merge "debuggerd_handler: demote abort on exec failure to log."
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
-rw-r--r--debuggerd/handler/debuggerd_handler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/debuggerd/handler/debuggerd_handler.cpp b/debuggerd/handler/debuggerd_handler.cpp
index a064ca0f7..bca5e36d5 100644
--- a/debuggerd/handler/debuggerd_handler.cpp
+++ b/debuggerd/handler/debuggerd_handler.cpp
@@ -383,7 +383,9 @@ static int debuggerd_dispatch_pseudothread(void* arg) {
execle(CRASH_DUMP_PATH, CRASH_DUMP_NAME, main_tid, pseudothread_tid, debuggerd_dump_type,
nullptr, nullptr);
- fatal_errno("exec failed");
+ async_safe_format_log(ANDROID_LOG_FATAL, "libc", "failed to exec crash_dump helper: %s",
+ strerror(errno));
+ return 1;
}
input_write.reset();