Skip to content

Commit

Permalink
Debug url calls
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRalex committed Oct 30, 2023
1 parent 2fa9a50 commit 51130b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/minecrafthopper/dswrap/env"
"html/template"
"io"
"log"
"net/http"
"net/url"
"strconv"
Expand Down Expand Up @@ -91,6 +92,7 @@ func getFileForMessageAttachment(channelId, messageId, filename string) (file *D
}

var response *http.Response
log.Printf("Calling %s", request.URL.String())
response, err = client.Do(request)
if err != nil {
return
Expand Down

0 comments on commit 51130b7

Please sign in to comment.