Final fix
authorunc0rr
Thu, 17 Sep 2009 06:37:24 +0000
changeset 2387 0fd5dd1884ab
parent 2386 f462ceff8abe
child 2388 76ccf12faf22
Final fix
gameServer/OfficialServer/DBInteraction.hs
--- a/gameServer/OfficialServer/DBInteraction.hs	Thu Sep 17 06:37:10 2009 +0000
+++ b/gameServer/OfficialServer/DBInteraction.hs	Thu Sep 17 06:37:24 2009 +0000
@@ -75,7 +75,7 @@
 
 pipeDbConnection accountsCache serverInfo = do
 	updatedCache <-
-		Exception.handle (\e -> warningM "Database" (show e) >> return accountsCache) $ do
+		Exception.handle (\(e :: Exception.IOException) -> warningM "Database" (show e) >> return accountsCache) $ do
 			(Just hIn, Just hOut, _, _) <- createProcess (proc "./OfficialServer/extdbinterface" [])
 					{std_in = CreatePipe,
 					std_out = CreatePipe}