Skip to content

Commit

Permalink
Merge pull request lightninglabs#170 from Roasbeef/failed-batch-logging
Browse files Browse the repository at this point in the history
venue: print out full list of offline traders
  • Loading branch information
guggero authored Aug 28, 2020
2 parents f196e5a + 8aaf262 commit 7cceb74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion venue/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"fmt"

"github.com/btcsuite/btcd/wire"
"github.com/davecgh/go-spew/spew"
orderT "github.com/lightninglabs/llm/order"
"github.com/lightninglabs/subasta/venue/matching"
)
Expand All @@ -22,7 +23,7 @@ type ErrMissingTraders struct {
// Error implements the error interface.
func (e *ErrMissingTraders) Error() string {
return fmt.Sprintf("%v traders not online in venue: %v",
len(e.TraderKeys), e.TraderKeys)
len(e.TraderKeys), spew.Sdump(e.TraderKeys))
}

// ErrMsgTimeout is returned if a trader doesn't send an expected response in
Expand Down

0 comments on commit 7cceb74

Please sign in to comment.