File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
rollbar-client/src/Rollbar/Client Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,14 @@ import qualified Control.Exception as E
3131import qualified Data.Aeson.KeyMap as KM
3232import qualified Data.Aeson.Key as K
3333import qualified Data.Text as T
34+ import qualified Paths_rollbar_client as Paths
3435
3536import Control.Monad.IO.Class (MonadIO (.. ))
3637import Data.Aeson
3738import Data.Maybe (catMaybes )
3839import Data.Monoid (Endo (.. ))
3940import Data.Text (Text )
41+ import Data.Version (showVersion )
4042import Network.HTTP.Req
4143import Rollbar.Client.Internal
4244import Rollbar.Client.Settings
@@ -375,7 +377,7 @@ instance ToJSON Notifier where
375377defaultNotifier :: Notifier
376378defaultNotifier = Notifier
377379 { notifierName = " rollbar-client"
378- , notifierVersion = " 1.1.0 "
380+ , notifierVersion = showVersion Paths. version
379381 }
380382
381383newtype ItemId = ItemId Text
You can’t perform that action at this time.
0 commit comments