sqlite-simple-errors 0.5.0.0 → 0.6.0.0
raw patch · 2 files changed
+2/−2 lines, 2 files
Files
sqlite-simple-errors.cabal view
@@ -1,5 +1,5 @@ name: sqlite-simple-errors-version: 0.5.0.0+version: 0.6.0.0 synopsis: Wrapper around errors from sqlite-simple description: Wrapper around errors from sqlite-simple. Get easy-to-pattern-match data types for constraint errors.
src/Database/SQLite/SimpleErrors.hs view
@@ -31,7 +31,7 @@ runDBAction sqlAction = do res <- try sqlAction case res of- (Left e) -> return . Left $ convertException e+ (Left e) -> return . Left $! convertException e (Right e) -> return $ Right e convertException :: SomeException -> SQLiteResponse