diff options
Diffstat (limited to 'src/client/linux/handler')
-rw-r--r-- | src/client/linux/handler/exception_handler.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc index dca7e7f0..9b20fe25 100644 --- a/src/client/linux/handler/exception_handler.cc +++ b/src/client/linux/handler/exception_handler.cc @@ -233,6 +233,11 @@ ExceptionHandler::ExceptionHandler(const MinidumpDescriptor& descriptor, !minidump_descriptor_.IsMicrodumpOnConsole()) minidump_descriptor_.UpdatePath(); +#if defined(__ANDROID__) + if (minidump_descriptor_.IsMicrodumpOnConsole()) + logger::initializeCrashLogWriter(); +#endif + pthread_mutex_lock(&g_handler_stack_mutex_); if (!g_handler_stack_) g_handler_stack_ = new std::vector<ExceptionHandler*>; |