fix broken tests
diff --git a/aos/common/logging/logging_impl.cc b/aos/common/logging/logging_impl.cc
index 43a20e0..724d4b8 100644
--- a/aos/common/logging/logging_impl.cc
+++ b/aos/common/logging/logging_impl.cc
@@ -44,6 +44,11 @@
 RootLogImplementation *root_implementation = nullptr;
 
 void SetGlobalImplementation(LogImplementation *implementation) {
+  if (root_implementation == nullptr) {
+    fputs("Somebody didn't call logging::Init()!\n", stderr);
+    abort();
+  }
+
   Context *context = Context::Get();
 
   context->implementation = implementation;