Skip to content

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

This check has been archived and is scheduled for deletion. Learn more about checks retention
Codecov / codecov/patch failed Nov 3, 2023 in 1s

75.00% of diff hit (target 90.07%)

View this Pull Request on Codecov

75.00% of diff hit (target 90.07%)

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 60 in pkg/cli/server/root.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/server/root.go#L60

Added line #L60 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/server/root.go#L74

Added line #L74 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/server/root.go#L77

Added line #L77 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/server/root.go#L98

Added line #L98 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

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

Added lines #L111 - L112 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/cli/server/root.go#L138

Added line #L138 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 120 in pkg/storage/cache/boltdb.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/boltdb.go#L120

Added line #L120 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/boltdb.go#L183

Added line #L183 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/boltdb.go#L210

Added line #L210 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 270 in pkg/storage/cache/boltdb.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/boltdb.go#L270

Added line #L270 was not covered by tests