log full traces more
This commit is contained in:
parent
d291c063ec
commit
d1063bd54e
2 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ func (s *Server) handleConnection(conn net.Conn) {
|
||||||
|
|
||||||
response, err = s.handleCompositeRequest(request)
|
response, err = s.handleCompositeRequest(request)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error(err)
|
log.Error(errors.FullTrace(err))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -129,7 +129,7 @@ func (n *Node) handleErrors() {
|
||||||
// err handles errors produced by the foreign node.
|
// err handles errors produced by the foreign node.
|
||||||
func (n *Node) err(err error) {
|
func (n *Node) err(err error) {
|
||||||
// TODO: Better error handling.
|
// TODO: Better error handling.
|
||||||
log.Error(err)
|
log.Error(errors.FullTrace(err))
|
||||||
}
|
}
|
||||||
|
|
||||||
// listen processes messages from the server.
|
// listen processes messages from the server.
|
||||||
|
|
Loading…
Reference in a new issue