diff --git a/datadog-tracing.cabal b/datadog-tracing.cabal
--- a/datadog-tracing.cabal
+++ b/datadog-tracing.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                datadog-tracing
-version:             1.3.0
+version:             1.3.1
 synopsis:            Datadog tracing client and mock agent.
 license:             BSD-3-Clause
 license-file:        LICENSE
diff --git a/exe/Main.hs b/exe/Main.hs
--- a/exe/Main.hs
+++ b/exe/Main.hs
@@ -9,7 +9,6 @@
 -- exposed that allows downloading all the recorded data in a format compatible
 -- with Jaeger tracing.
 
-import           Control.Monad            (void)
 import           Control.Monad.IO.Class   (liftIO)
 import           Data.IORef
 import qualified Data.Map.Strict          as M
@@ -27,8 +26,8 @@
   let services = (postTraces3 ref) :<|> (postTraces4 ref) :<|> (getTraces ref)
   run 8126 (serve (Proxy @ Services) services)
 
-postTraces3 :: IORef [Trace] -> [Trace] -> Handler ()
-postTraces3 r t = void $ postTraces4 r t
+postTraces3 :: IORef [Trace] -> [Trace] -> Handler NoContent
+postTraces3 r t = (\_ -> NoContent) <$> postTraces4 r t
 
 postTraces4 :: IORef [Trace] -> [Trace] -> Handler TraceResponse
 postTraces4 ref traces = liftIO $ (atomicModifyIORef' ref update)
