gameServer/Store.hs
changeset 3693 09892cdb8f95
parent 3673 45778b16b224
child 3741 73246d25dfe1
--- a/gameServer/Store.hs	Sat Jul 31 10:39:20 2010 +0200
+++ b/gameServer/Store.hs	Sat Jul 31 10:42:40 2010 +0200
@@ -77,7 +77,7 @@
 removeElem :: MStore e -> ElemIndex -> IO ()
 removeElem (MStore ref) (ElemIndex n) = do
     (busyElems, freeElems, arr) <- readIORef ref
-    IOA.writeArray arr n (error "Store: no element")
+    IOA.writeArray arr n (error $ "Store: no element " ++ show n)
     writeIORef ref (IntSet.delete n busyElems, IntSet.insert n freeElems, arr)