log full traces more

This commit is contained in:
Alex Grintsvayg 2020-02-25 18:22:22 -05:00
parent d291c063ec
commit d1063bd54e
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5
2 changed files with 2 additions and 2 deletions

View file

@ -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
} }

View file

@ -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.