diff --git a/hplayground.cabal b/hplayground.cabal
--- a/hplayground.cabal
+++ b/hplayground.cabal
@@ -1,5 +1,5 @@
 name: hplayground
-version: 0.1.2.7 
+version: 0.1.2.8
 cabal-version: >=1.8
 build-type: Simple
 license: BSD3
diff --git a/src/Haste/HPlay/WebSockets.hs b/src/Haste/HPlay/WebSockets.hs
--- a/src/Haste/HPlay/WebSockets.hs
+++ b/src/Haste/HPlay/WebSockets.hs
@@ -102,7 +102,7 @@
                              writeIORef rsockets $(id, (ws,Nothing)):wss
                              runCont cont
 
-        liftIO $ news url  onopen -- $ WSOnError $ error "WebSocket closed unexpectedly"
+        liftIO $ news url  onopen 
         return $ FormElm noHtml Nothing
 
 
