Move some log from stdout to ray log
This commit is contained in:
1 parent
f86fe6f91a
commit
d24a636c75
4 files changed
+20
-11
No files matched your search
@@ -4,7 +4,6 @@ import (
|
||||
"context"
|
||||
_ "embed"
|
||||
"encoding/base64"
|
||||
"fmt"
|
||||
"io"
|
||||
gonet "net"
|
||||
"net/http"
|
||||
@@ -34,7 +33,7 @@ func init() {
|
||||
if conn, err := upgrader.Upgrade(w, r, nil); err == nil {
|
||||
conns <- conn
|
||||
} else {
|
||||
fmt.Println("unexpected error")
|
||||
newError("Browser dialer http upgrade unexpected error").AtError().WriteToLog()
|
||||
}
|
||||
} else {
|
||||
w.Write(webpage)
|
||||
|
||||
Reference in new issue
Block a user