Skip to content

Commit d688d68

Browse files
committed
cleanup
1 parent 722ba14 commit d688d68

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

internal/opensea/opensea.go

+2
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ func GetCollectionsFor(walletAddress common.Address, userCollections *collection
153153

154154
if err := json.NewDecoder(bytes.NewReader(responseBody)).Decode(&collectionResponse); err != nil {
155155
gbl.Log.Errorf("⌛️ error while decoding wallet collections for %s: %s", walletAddress.Hex(), err)
156+
gbl.Log.Errorf("responseBody: %+v", string(responseBody))
157+
gbl.Log.Error("")
156158
}
157159

158160
for _, collection := range collectionResponse {

internal/seawa/seawatcher.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ func NewSeaWatcher(apiToken string, gb *gloomberg.Gloomberg) *SeaWatcher {
9595
client.phoenixSocket.ReconnectAfterFunc = func(attempt int) time.Duration {
9696
waitTime := time.Second * time.Duration(math.Pow(2.0, float64(attempt)))
9797

98-
client.Prf("❕ reconnecting after %v..", waitTime)
99-
client.Prf("🌂 opensea stream socket retry | time.Second * time.Duration(math.Pow(2.0, float64(attempt))) = %v..", waitTime)
98+
client.Prf("❕ reconnecting (attempt %d) after %d..", attempt, waitTime)
10099

101100
return waitTime
102101
}

0 commit comments

Comments
 (0)