Permalink
Browse files

wrapped an exception of 'insert' function.

  • Loading branch information...
1 parent 2592bef commit 7acbad0c6340487df98e807fed33481861dd601d @krdlab krdlab committed Dec 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Database/Cassandra/Basic.hs
@@ -265,7 +265,7 @@ insert
insert cf k cl row = withCassandraPool $ \ Cassandra{..} -> do
let insCol cp c = do
c' <- mkThriftCol c
- C.insert (cProto, cProto) k cp c' cl
+ wrapException $ C.insert (cProto, cProto) k cp c' cl
forM_ row $ \ c -> do
case c of
Column{} -> do

0 comments on commit 7acbad0

Please sign in to comment.