Skip to content

eoswrapper: return the EOS error instead of panicking - #85

Merged
diocas merged 1 commit into
masterfrom
eoswrapper-check-err
Oct 8, 2026
Merged

diocas merged 1 commit into
masterfrom
eoswrapper-check-err

Conversation

@gmgigi96

@gmgigi96 gmgigi96 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Check the error from NewEOSFS before asserting its type, so an EOS that cannot be set up at startup fails the storage provider instead of crashing revad.

New asserted the FS type before checking the error, so an EOS that could not be set up at startup (e.g. its gRPC endpoint refusing connections) crashed revad instead of failing the storage provider.
@gmgigi96
gmgigi96 force-pushed the eoswrapper-check-err branch from 01ddf0f to 94ecb2d Compare October 8, 2026 15:35
@diocas
diocas merged commit 3699997 into master Oct 8, 2026
2 checks passed
@diocas
diocas deleted the eoswrapper-check-err branch October 8, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants