mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-13 11:09:23 +01:00
lnwire: log type of failure upon decode failure
This commit is contained in:
parent
2f926f1a47
commit
ef2838fdd3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue