all: blidly swap out glog to our log15, logs need rework
This commit is contained in:
		| @@ -22,8 +22,7 @@ import ( | ||||
| 	"io" | ||||
| 	"time" | ||||
|  | ||||
| 	"github.com/ethereum/go-ethereum/logger" | ||||
| 	"github.com/ethereum/go-ethereum/logger/glog" | ||||
| 	"github.com/ethereum/go-ethereum/log" | ||||
| 	"github.com/ethereum/go-ethereum/rpc" | ||||
| 	"github.com/robertkrimen/otto" | ||||
| ) | ||||
| @@ -306,7 +305,7 @@ func setError(resp *otto.Object, code int, msg string) { | ||||
| func throwJSException(msg interface{}) otto.Value { | ||||
| 	val, err := otto.ToValue(msg) | ||||
| 	if err != nil { | ||||
| 		glog.V(logger.Error).Infof("Failed to serialize JavaScript exception %v: %v", msg, err) | ||||
| 		log.Error(fmt.Sprintf("Failed to serialize JavaScript exception %v: %v", msg, err)) | ||||
| 	} | ||||
| 	panic(val) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user