diff --git a/Handler/MediumSettings.hs b/Handler/MediumSettings.hs index 931c890..702448f 100755 --- a/Handler/MediumSettings.hs +++ b/Handler/MediumSettings.hs @@ -147,6 +147,9 @@ postMediumMoveR mId = do moveMedium medium mId aId setMessage "Medium successfully moved" redirect $ MediumR mId + _ -> do + setMessage "Error moving image" + redirect $ mediumR mId Left (err, route) -> do setMessage err redirect route diff --git a/eidolon.cabal b/eidolon.cabal index c68b5bd..080ab8d 100755 --- a/eidolon.cabal +++ b/eidolon.cabal @@ -1,5 +1,5 @@ name: eidolon -version: 0.1.2.3 +version: 0.1.2.4 synopsis: Image gallery in Yesod homepage: https://eidolon.nek0.eu license: AGPL-3