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 cef8c28 commit e107fd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Ntfy.fs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
namespace TcFairplay

open System.Net
open System.Net.Http

module Ntfy =
Expand All @@ -15,4 +16,7 @@ module Ntfy =
let resp = client.PostAsync(url, sc) |> await

printfn "StatusCode: %A" resp.StatusCode
if resp.StatusCode <> HttpStatusCode.OK then
printfn "Reason: %s" resp.ReasonPhrase

()

0 comments on commit e107fd7

Please sign in to comment.