Skip to content

Commit

Permalink
Sean debugging
Browse files Browse the repository at this point in the history
TODO
  • Loading branch information
Sean-Der committed Apr 4, 2024
1 parent 85b7d47 commit 5fe6684
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/client/allocation.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ func (a *allocation) refreshAllocation(lifetime time.Duration, dontWait bool) er
a.log.Debug("Refresh request sent, and waiting response")

res := trRes.Msg

fmt.Println(res)

Check failure on line 92 in internal/client/allocation.go

View workflow job for this annotation

GitHub Actions / lint / Go

use of `fmt.Println` forbidden by pattern `^fmt.Print(f|ln)?$` (forbidigo)
fmt.Println(res.Type)

Check failure on line 93 in internal/client/allocation.go

View workflow job for this annotation

GitHub Actions / lint / Go

use of `fmt.Println` forbidden by pattern `^fmt.Print(f|ln)?$` (forbidigo)
fmt.Println(res.Type.Class)

Check failure on line 94 in internal/client/allocation.go

View workflow job for this annotation

GitHub Actions / lint / Go

use of `fmt.Println` forbidden by pattern `^fmt.Print(f|ln)?$` (forbidigo)

Check warning on line 94 in internal/client/allocation.go

View check run for this annotation

Codecov / codecov/patch

internal/client/allocation.go#L91-L94

Added lines #L91 - L94 were not covered by tests
if res.Type.Class == stun.ClassErrorResponse {
var code stun.ErrorCodeAttribute
if err = code.GetFrom(res); err == nil {
Expand Down

0 comments on commit 5fe6684

Please sign in to comment.