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

refactor(log): replace panics with log fatal or log panic functions #1723

Merged
merged 1 commit into from
Nov 24, 2023

refactor(log): replace panics with log fatal or log panic functions

2869ccc
Select commit
Loading
Failed to load commit list.
Merged

refactor(log): replace panics with log fatal or log panic functions #1723

refactor(log): replace panics with log fatal or log panic functions
2869ccc
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Nov 22, 2023 in 1s

76.28% of diff hit (target 91.87%)

View this Pull Request on Codecov

76.28% of diff hit (target 91.87%)

Annotations

Check warning on line 300 in pkg/api/authn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/authn.go#L299-L300

Added lines #L299 - L300 were not covered by tests

Check warning on line 591 in pkg/api/authn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/authn.go#L590-L591

Added lines #L590 - L591 were not covered by tests

Check warning on line 40 in pkg/cli/client/config_cmd.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/client/config_cmd.go#L40

Added line #L40 was not covered by tests

Check warning on line 115 in pkg/cli/client/config_cmd.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/client/config_cmd.go#L115

Added line #L115 was not covered by tests

Check warning on line 145 in pkg/cli/client/config_cmd.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/client/config_cmd.go#L145

Added line #L145 was not covered by tests

Check warning on line 108 in pkg/cli/server/config_reloader.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/server/config_reloader.go#L108

Added line #L108 was not covered by tests

Check warning on line 114 in pkg/cli/server/config_reloader.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/server/config_reloader.go#L114

Added line #L114 was not covered by tests

Check warning on line 61 in pkg/cli/server/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/server/root.go#L61

Added line #L61 was not covered by tests

Check warning on line 75 in pkg/cli/server/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/server/root.go#L75

Added line #L75 was not covered by tests

Check warning on line 78 in pkg/cli/server/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/server/root.go#L78

Added line #L78 was not covered by tests

Check warning on line 99 in pkg/cli/server/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/server/root.go#L99

Added line #L99 was not covered by tests

Check warning on line 113 in pkg/cli/server/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/server/root.go#L112-L113

Added lines #L112 - L113 were not covered by tests

Check warning on line 139 in pkg/cli/server/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/server/root.go#L139

Added line #L139 was not covered by tests

Check warning on line 33 in pkg/compliance/v1_0_0/check.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/compliance/v1_0_0/check.go#L33

Added line #L33 was not covered by tests

Check warning on line 63 in pkg/exporter/cli/cli.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/exporter/cli/cli.go#L63

Added line #L63 was not covered by tests

Check warning on line 68 in pkg/exporter/cli/cli.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/exporter/cli/cli.go#L68

Added line #L68 was not covered by tests

Check warning on line 72 in pkg/exporter/cli/cli.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/exporter/cli/cli.go#L72

Added line #L72 was not covered by tests

Check warning on line 65 in pkg/storage/cache.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache.go#L65

Added line #L65 was not covered by tests

Check warning on line 81 in pkg/storage/cache/boltdb.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/boltdb.go#L81

Added line #L81 was not covered by tests

Check warning on line 223 in pkg/storage/cache/boltdb.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/boltdb.go#L223

Added line #L223 was not covered by tests

Check warning on line 228 in pkg/storage/cache/boltdb.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/boltdb.go#L228

Added line #L228 was not covered by tests

Check warning on line 91 in pkg/storage/cache/dynamodb.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/dynamodb.go#L91

Added line #L91 was not covered by tests

Check warning on line 87 in pkg/storage/storage.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/storage.go#L86-L87

Added lines #L86 - L87 were not covered by tests

Check warning on line 165 in pkg/storage/storage.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/storage.go#L164-L165

Added lines #L164 - L165 were not covered by tests

Check warning on line 204 in pkg/storage/storage.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/storage.go#L200-L204

Added lines #L200 - L204 were not covered by tests