neofs-node
neofs-node copied to clipboard
Do not ignore errors ever
Expected Behavior
Never ignore errors in gonang.
Current Behavior
Code may ignore some errors (even if they are not expected at all, that is not good).
Possible Solution
Panic if an error is not expected at all.
Context
At least CLIs are affected: binding flags, getting flags, marking flags. Some other places may be affected too.
Narrow down the scope, please. This is too broad.
Narrow down the scope, please.
Finding all the places == 90% of solving the issue. We do ignore errors sometimes (Context
has 3 examples with cobra
lib errs ignorance). What exact do you mean?