lnwire: log type of failure upon decode failure

This commit is contained in:
Olaoluwa Osuntokun 2017-12-21 11:30:59 +01:00
parent 2f926f1a47
commit ef2838fdd3
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21
1 changed files with 1 additions and 1 deletions

View File

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