lambdabot-misc-plugins 5.3.1 → 5.3.1.1
raw patch · 2 files changed
+5/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
lambdabot-misc-plugins.cabal view
@@ -1,11 +1,11 @@ name: lambdabot-misc-plugins-version: 5.3.1+version: 5.3.1.1 license: GPL license-file: LICENSE author: Don Stewart-maintainer: Bertram Felgenhauer <int-e@gmx.de>+maintainer: Naïm Favier <n@monade.li> category: Development, Web synopsis: Lambdabot miscellaneous plugins@@ -28,7 +28,7 @@ build-type: Simple cabal-version: >= 1.10-tested-with: GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.4, GHC == 9.0.2, GHC == 9.2.4+tested-with: GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.4, GHC == 9.0.2, GHC == 9.2.4, GHC == 9.4.5 source-repository head type: git
src/Lambdabot/Plugin/Misc/Error.hs view
@@ -1,6 +1,7 @@ {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE TemplateHaskell #-}+{-# LANGUAGE TypeOperators #-} {-# OPTIONS_GHC -fno-warn-overlapping-patterns #-} module Lambdabot.Plugin.Misc.Error (errorPlugin, failOnLoad, errorOnLoad) where @@ -27,7 +28,7 @@ , moduleInit = do shouldFail <- getConfig failOnLoad when shouldFail (fail "Error module hates the world!")- + shouldError <- getConfig errorOnLoad when shouldError (error "Error module hates the world!") }