Skip to content

Commit

Permalink
venue: print out full list of offline traders
Browse files Browse the repository at this point in the history
Otherwise, we only get the int representation of the hex string.
  • Loading branch information
Roasbeef committed Aug 28, 2020
1 parent f196e5a commit 8aaf262
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 8aaf262

Please sign in to comment.