diff --git a/Yesod/Core/Dispatch.hs b/Yesod/Core/Dispatch.hs
--- a/Yesod/Core/Dispatch.hs
+++ b/Yesod/Core/Dispatch.hs
@@ -175,8 +175,8 @@
             }
   where
     shouldLog' =
-#if MIN_VERSION_wai(2,1,3)
-        Warp.defaultShouldDisplayException
+#if MIN_VERSION_warp(2,1,3)
+        Network.Wai.Handler.Warp.defaultShouldDisplayException
 #else
         const True
 #endif
diff --git a/yesod-core.cabal b/yesod-core.cabal
--- a/yesod-core.cabal
+++ b/yesod-core.cabal
@@ -1,5 +1,5 @@
 name:            yesod-core
-version:         1.2.11
+version:         1.2.11.1
 license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <michael@snoyman.com>
