diff --git a/src/FinalHandler.php b/src/FinalHandler.php
index <HASH>..<HASH> 100644
--- a/src/FinalHandler.php
+++ b/src/FinalHandler.php
@@ -113,7 +113,7 @@ class FinalHandler
         if ($this->request instanceof Http\Request && $this->request->originalUrl) {
             $url = $this->request->originalUrl;
         } else {
-            $this->request->getUrl();
+            $url = $this->request->getUrl();
         }
 
         $escaper = new Escaper();
Fixed missing variable declaration in FinalHandler