packages feed

statsd-rupp 0.4.0.2 → 0.4.0.3

raw patch · 3 files changed

+10/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -6,6 +6,10 @@ and this project adheres to the [Haskell Package Versioning Policy](https://pvp.haskell.org/). +## 0.4.0.3 - 2023-09-11++- Show invalid value and key.+ ## 0.4.0.2 - 2023-09-05  - Flush interval cannot be zero or below.
src/System/Metrics/StatsD/Internal.hs view
@@ -245,7 +245,11 @@       userError "StatsD sampling rate must not be negative"   unless (validateValue val) $     throwIO $-      userError "StatsD value is not valid"+      userError $+        "StatsD value is not valid for key \""+          <> C.unpack key+          <> "\": "+          <> show val   idx <- atomically $ newReading stats key val   when stats.params.samples $     submit stats $
statsd-rupp.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           statsd-rupp-version:        0.4.0.2+version:        0.4.0.3 synopsis:       Simple StatsD Client description:    Please see the README on GitHub at <https://github.com/jprupp/statsd-rupp#readme> category:       System