packages feed

persistent-postgresql 2.1.5 → 2.1.5.1

raw patch · 2 files changed

+5/−3 lines, 2 filesdep ~aeson

Dependency ranges changed: aeson

Files

Database/Persist/Postgresql.hs view
@@ -60,6 +60,7 @@  import Data.Text (Text) import Data.Aeson+import Data.Aeson.Types (modifyFailure) import Control.Monad (forM, mzero) import Data.Acquire (Acquire, mkAcquire, with) import System.Environment (getEnvironment)@@ -870,7 +871,8 @@     } deriving Show  instance FromJSON PostgresConf where-    parseJSON = withObject "PostgresConf" $ \o -> do+    parseJSON v = modifyFailure ("Persistent: error loadomg PostgreSQL conf: " ++) $+      flip (withObject "PostgresConf") v $ \o -> do         database <- o .: "database"         host     <- o .: "host"         port     <- o .:? "port" .!= 5432
persistent-postgresql.cabal view
@@ -1,5 +1,5 @@ name:            persistent-postgresql-version:         2.1.5+version:         2.1.5.1 license:         MIT license-file:    LICENSE author:          Felipe Lessa, Michael Snoyman <michael@snoyman.com>@@ -26,7 +26,7 @@                    , monad-control         >= 0.2                    , blaze-builder                    , time                  >= 1.1-                   , aeson                 >= 0.5+                   , aeson                 >= 0.6.2                    , conduit               >= 0.5.3                    , resourcet             >= 1.1                    , monad-logger          >= 0.3.4