go icon indicating copy to clipboard operation
go copied to clipboard

Improve error message after Stellar-Core crash

Open bartekn opened this issue 4 years ago • 2 comments

Currently, when Stellar-Core crashes when preparing a new range it logs the following error message:

error preparing range: Error fast-forwarding to 17089856: error reading frame length: unmarshalling XDR frame header: xdr:DecodeUint: EOF while decoding 4 bytes - read: '[]'

This is really confusing. We should improve this message and, if possible, log the latest error level message from Stellar-Core.

bartekn avatar Mar 03 '22 15:03 bartekn

Related https://github.com/stellar/go/pull/4066

2opremio avatar Mar 03 '22 18:03 2opremio

https://github.com/stellar/go/pull/4066

Yeah, looks like there's another place in the code we aren't doing this properly.

bartekn avatar Mar 03 '22 20:03 bartekn