Skip to content

Commit

Permalink
More debug output.
Browse files Browse the repository at this point in the history
  • Loading branch information
jskripsky committed Nov 21, 2023
1 parent e107fd7 commit 81a15ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Ntfy.fs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ module Ntfy =

printfn "StatusCode: %A" resp.StatusCode
if resp.StatusCode <> HttpStatusCode.OK then
printfn "URL: %s" (url.Replace('-', '_'))
printfn "Topic: %s" (topic.Replace('-', '_'))
printfn "Reason: %s" resp.ReasonPhrase

()

0 comments on commit 81a15ab

Please sign in to comment.