Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: Don't print help and don't skip defered funcs on failures #2942

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

cmd/neofs-lens: add error handler after execution command

24ab511
Select commit
Loading
Failed to load commit list.
Draft

cli: Don't print help and don't skip defered funcs on failures #2942

cmd/neofs-lens: add error handler after execution command
24ab511
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Sep 19, 2024 in 0s

0.00% of diff hit (target 23.91%)

View this Pull Request on Codecov

0.00% of diff hit (target 23.91%)

Annotations

Check warning on line 14 in cmd/internal/custom_errors/errors.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/internal/custom_errors/errors.go#L14

Added line #L14 was not covered by tests

Check warning on line 22 in cmd/internal/custom_errors/errors.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/internal/custom_errors/errors.go#L18-L22

Added lines #L18 - L22 were not covered by tests

Check warning on line 25 in cmd/internal/custom_errors/errors.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/internal/custom_errors/errors.go#L24-L25

Added lines #L24 - L25 were not covered by tests

Check warning on line 82 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L82

Added line #L82 was not covered by tests

Check warning on line 84 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L84

Added line #L84 was not covered by tests

Check warning on line 91 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L89-L91

Added lines #L89 - L91 were not covered by tests

Check warning on line 107 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L105-L107

Added lines #L105 - L107 were not covered by tests

Check warning on line 113 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L112-L113

Added lines #L112 - L113 were not covered by tests

Check warning on line 121 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L119-L121

Added lines #L119 - L121 were not covered by tests

Check warning on line 130 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L129-L130

Added lines #L129 - L130 were not covered by tests

Check warning on line 135 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L135

Added line #L135 was not covered by tests

Check warning on line 140 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L139-L140

Added lines #L139 - L140 were not covered by tests

Check warning on line 145 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L144-L145

Added lines #L144 - L145 were not covered by tests

Check warning on line 154 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L152-L154

Added lines #L152 - L154 were not covered by tests

Check warning on line 170 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L169-L170

Added lines #L169 - L170 were not covered by tests

Check warning on line 175 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L173-L175

Added lines #L173 - L175 were not covered by tests

Check warning on line 181 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L179-L181

Added lines #L179 - L181 were not covered by tests

Check warning on line 219 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L217-L219

Added lines #L217 - L219 were not covered by tests

Check warning on line 227 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L225-L227

Added lines #L225 - L227 were not covered by tests

Check warning on line 235 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L233-L235

Added lines #L233 - L235 were not covered by tests

Check warning on line 240 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L238-L240

Added lines #L238 - L240 were not covered by tests

Check warning on line 246 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L244-L246

Added lines #L244 - L246 were not covered by tests

Check warning on line 251 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L249-L251

Added lines #L249 - L251 were not covered by tests

Check warning on line 259 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L257-L259

Added lines #L257 - L259 were not covered by tests

Check warning on line 262 in cmd/neofs-adm/internal/modules/storagecfg/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-adm/internal/modules/storagecfg/root.go#L261-L262

Added lines #L261 - L262 were not covered by tests