message: Guard check that event_base_new initializes correctly
diff: @@ -15,7 +15,11 @@ void recordTimeval(Stats::Histogram& histogram, const timeval& tv) {
  }
  } // namespace
  -LibeventScheduler::LibeventScheduler() : libevent_(event_base_new()) {
  +LibeventScheduler::LibeventScheduler() {
  + event_base* event_base = event_base_new();
  + RELEASE_ASSERT(event_base != nullptr, "Failed to initialize libevent event_base");
  + libevent_ = Libevent::BasePtr(event_base);
  +
  // The dispatcher won't work as expected if libevent hasn't been configured to use threads.
  RELEASE_ASSERT(Libevent::Global::initialized(), "");
  }
  