gameServer/OfficialServer/extdbinterface.hs
changeset 2348 b39d826e1ccd
parent 2195 4ae585fc7183
child 2869 93cc73dcc421
--- a/gameServer/OfficialServer/extdbinterface.hs	Thu Sep 03 10:02:50 2009 +0000
+++ b/gameServer/OfficialServer/extdbinterface.hs	Fri Sep 04 07:04:27 2009 +0000
@@ -1,3 +1,5 @@
+{-# LANGUAGE ScopedTypeVariables #-}
+
 module Main where
 
 import Prelude hiding (catch)
@@ -45,7 +47,7 @@
 
 
 dbConnectionLoop mySQLConnectionInfo =
-	Control.Exception.handle (\e -> return ()) $ handleSqlError $
+	Control.Exception.handle (\(_ :: IOException) -> return ()) $ handleSqlError $
 		bracket
 			(connectMySQL mySQLConnectionInfo)
 			(disconnect)