Skip to content

Commit 7901cd4

Browse files
committed
Tweak messages
1 parent 41fb463 commit 7901cd4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

core-telemetry/lib/Core/Telemetry/Honeycomb.hs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,11 @@ postEventToHoneycombAPI r apikey dataset json = attempt False
262262
cleanupConnection r
263263
case retrying of
264264
False -> do
265-
putStrLn "Reattempting"
265+
putStrLn "internal: Reconnecting to Honeycomb"
266266
attempt True
267-
True -> Safe.throw e
267+
True -> do
268+
putStrLn "internal: Failed to re-establish connection to Honeycomb"
269+
Safe.throw e
268270
)
269271

270272
q = buildRequest1 $ do
@@ -297,7 +299,7 @@ postEventToHoneycombAPI r apikey dataset json = attempt False
297299
pure ()
298300
_ -> do
299301
-- some other status!
300-
putStrLn "Unexpected status returned;"
302+
putStrLn "internal: Unexpected status returned;"
301303
C.putStrLn body
302304
_ -> putStrLn "internal: wtf?"
303305
_ -> do

0 commit comments

Comments
 (0)