Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 111f3517 authored by Narayan Kamath's avatar Narayan Kamath Committed by Gerrit Code Review
Browse files

Merge "tombstoned: Improve message on java trace completion."

parents b2bf7a53 79dd143e
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -345,8 +345,15 @@ static void crash_completed_cb(evutil_socket_t sockfd, short ev, void* arg) {
  }

  if (!crash->crash_path.empty()) {
    if (crash->crash_type == kDebuggerdJavaBacktrace) {
      LOG(ERROR) << "Traces for pid " << crash->crash_pid << " written to: " << crash->crash_path;
    } else {
      // NOTE: Several tools parse this log message to figure out where the
      // tombstone associated with a given native crash was written. Any changes
      // to this message must be carefully considered.
      LOG(ERROR) << "Tombstone written to: " << crash->crash_path;
    }
  }

fail:
  CrashQueue* queue = get_crash_queue(crash);