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

Commit c5b80045 authored by Steven Moreland's avatar Steven Moreland
Browse files

InternalHciCallbacks: log error code

I was hitting this in a loop when looking at certain system
stability issues.

I'd recommend switching all the ASSERT calls to the
CHECK_* libbase APIs which include a print. Note - CHECK_* errors
are unconditionally enabled.

Bug: 262483403
Test: repro error, see issue
Change-Id: I7d39e4b3c1ae7744131229355a019727a096005e
parent 20044dc0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ class InternalHciCallbacks : public IBluetoothHciCallbacks {
  Return<void> initializationComplete(HidlStatus status) {
    common::StopWatch stop_watch(__func__);
    LOG_INFO("initialization complete with status: %d", status);
    ASSERT(status == HidlStatus::SUCCESS);
    CHECK_EQ(status, HidlStatus::SUCCESS);
    init_promise_->set_value();
    return Void();
  }