Skip to content

Commit

Permalink
Logg (#86)
Browse files Browse the repository at this point in the history
* save

* save

* save

* save

* save
  • Loading branch information
dvovk authored Aug 13, 2024
1 parent 83a38e6 commit 08da1ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions api/bridge_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,12 @@ func (h BridgeHandler) Bridge(w http.ResponseWriter, r *http.Request) {
_, message, err := conn.ReadMessage()

if err != nil {
fmt.Printf("1 can't read response: %v\n", err)
fmt.Printf("can't read response: %v\n", err)
continue
}

if err = json.Unmarshal(message, &response); err != nil {
fmt.Printf("2 can't read response: %v\n", err)
fmt.Printf("can't read response: %v\n", err)
fmt.Printf("Message: %s\n", string(message))
select {
case <-time.After(100 * time.Millisecond):
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
)

require (
github.com/erigontech/erigonwatch v0.1.4
github.com/erigontech/erigonwatch v0.1.8
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/erigontech/erigonwatch v0.1.4 h1:hY8wNydvwiYmIA0d2Z5QjmzAb2vpcolwRZObj71fxYo=
github.com/erigontech/erigonwatch v0.1.4/go.mod h1:8vQ+VjvLu2gkPs8EwdPrOTAAo++WuLuBi54N7NuAF0I=
github.com/erigontech/erigonwatch v0.1.8 h1:kVlK9pB3KqA7+XRO+Hnh7rGhUQce0d+4K+rr7yrUxbc=
github.com/erigontech/erigonwatch v0.1.8/go.mod h1:8vQ+VjvLu2gkPs8EwdPrOTAAo++WuLuBi54N7NuAF0I=
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
Expand Down

0 comments on commit 08da1ce

Please sign in to comment.