lnwire: log type of failure upon decode failure
This commit is contained in:
parent
2f926f1a47
commit
ef2838fdd3
@ -1031,7 +1031,7 @@ func DecodeFailure(r io.Reader, pver uint32) (FailureMessage, error) {
|
||||
case Serializable:
|
||||
if err := f.Decode(dataReader, pver); err != nil {
|
||||
return nil, fmt.Errorf("unable to decode error "+
|
||||
"update: %v", err)
|
||||
"update (%T): %v", err, failure)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user