mirror of
https://github.com/onyx-and-iris/q3rcon-proxy.git
synced 2025-01-18 08:40:53 +00:00
log errors - error handling still bad
rename folder
This commit is contained in:
parent
5eff7e1c08
commit
37ca09669a
2
Makefile
2
Makefile
@ -1,2 +1,2 @@
|
|||||||
go-build:
|
go-build:
|
||||||
go build cmd/http/main.go
|
go build cmd/server/main.go
|
@ -48,6 +48,7 @@ func (s *Session) proxyFrom(buf []byte) error {
|
|||||||
s.updateTime = time.Now()
|
s.updateTime = time.Now()
|
||||||
_, err := s.proxyConn.WriteToUDP(buf, s.caddr)
|
_, err := s.proxyConn.WriteToUDP(buf, s.caddr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
log.Println(err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user