diff --git a/src/Debug/Route/Wamp.php b/src/Debug/Route/Wamp.php
index <HASH>..<HASH> 100644
--- a/src/Debug/Route/Wamp.php
+++ b/src/Debug/Route/Wamp.php
@@ -170,6 +170,9 @@ class Wamp implements RouteInterface
      */
     public function onShutdown()
     {
+        if (!$this->metaPublished) {
+            return;
+        }
         // publish a "we're done" message
         $this->processLogEntry(new LogEntry(
             $this->debug,
Wamp:  only publish endOutput if we've published meta (begin output)