Skip to content

Commit

Permalink
more debugging log bulk inserts
Browse files Browse the repository at this point in the history
  • Loading branch information
giantimi committed Feb 2, 2024
1 parent 47914cb commit eeb91a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exec/TXG.hs
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ esPostReq :: MonadIO m => ElasticSearchConfig -> ChainwebVersion -> Logger Text
esPostReq esConf version logger start end rks = do
esReq <- liftIO $ mkElasticSearchRequest esConf version start end rks
mgr <- asks confManager
liftIO $ loggerFunIO logger Debug $ "ElasticSearch request: " <> T.pack (show esReq)
a :: Value <- liftIO $ httpJson mgr esReq
liftIO $ loggerFunIO logger Debug $ "ElasticSearch response: " <> T.pack (show a)
return ()
Expand Down

0 comments on commit eeb91a5

Please sign in to comment.