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

[backend] Avoid raising stack trace instead of returning a 404 #885

Merged
merged 1 commit into from
May 22, 2024

[backend] Avoid raising stack trace instead of returning a 404

e5976fc
Select commit
Loading
Failed to load commit list.
Merged

[backend] Avoid raising stack trace instead of returning a 404 #885

[backend] Avoid raising stack trace instead of returning a 404
e5976fc
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded May 15, 2024 in 1s

7.18% of diff hit (target 27.31%)

View this Pull Request on Codecov

7.18% of diff hit (target 27.31%)

Annotations

Check warning on line 18 in openbas-api/src/main/java/io/openbas/config/GlobalExceptionHandler.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/config/GlobalExceptionHandler.java#L17-L18

Added lines #L17 - L18 were not covered by tests

Check warning on line 36 in openbas-api/src/main/java/io/openbas/helper/DatabaseHelper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/helper/DatabaseHelper.java#L36

Added line #L36 was not covered by tests

Check warning on line 51 in openbas-api/src/main/java/io/openbas/rest/atomic_testing/AtomicTestingApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/atomic_testing/AtomicTestingApi.java#L51

Added line #L51 was not covered by tests

Check warning on line 56 in openbas-api/src/main/java/io/openbas/rest/atomic_testing/AtomicTestingApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/atomic_testing/AtomicTestingApi.java#L56

Added line #L56 was not covered by tests

Check warning on line 78 in openbas-api/src/main/java/io/openbas/rest/attack_pattern/AttackPatternApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/attack_pattern/AttackPatternApi.java#L78

Added line #L78 was not covered by tests

Check warning on line 93 in openbas-api/src/main/java/io/openbas/rest/attack_pattern/AttackPatternApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/attack_pattern/AttackPatternApi.java#L93

Added line #L93 was not covered by tests

Check warning on line 102 in openbas-api/src/main/java/io/openbas/rest/attack_pattern/AttackPatternApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/attack_pattern/AttackPatternApi.java#L102

Added line #L102 was not covered by tests

Check warning on line 119 in openbas-api/src/main/java/io/openbas/rest/attack_pattern/AttackPatternApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/attack_pattern/AttackPatternApi.java#L119

Added line #L119 was not covered by tests

Check warning on line 105 in openbas-api/src/main/java/io/openbas/rest/challenge/ChallengeApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/challenge/ChallengeApi.java#L105

Added line #L105 was not covered by tests

Check warning on line 153 in openbas-api/src/main/java/io/openbas/rest/challenge/ChallengeApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/challenge/ChallengeApi.java#L153

Added line #L153 was not covered by tests

Check warning on line 176 in openbas-api/src/main/java/io/openbas/rest/challenge/ChallengeApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/challenge/ChallengeApi.java#L176

Added line #L176 was not covered by tests

Check warning on line 209 in openbas-api/src/main/java/io/openbas/rest/challenge/ChallengeApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/challenge/ChallengeApi.java#L209

Added line #L209 was not covered by tests

Check warning on line 90 in openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java#L90

Added line #L90 was not covered by tests

Check warning on line 96 in openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java#L96

Added line #L96 was not covered by tests

Check warning on line 105 in openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java#L105

Added line #L105 was not covered by tests

Check warning on line 167 in openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java#L167

Added line #L167 was not covered by tests

Check warning on line 192 in openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java#L192

Added line #L192 was not covered by tests

Check warning on line 263 in openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java#L263

Added line #L263 was not covered by tests

Check warning on line 267 in openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java#L266-L267

Added lines #L266 - L267 were not covered by tests

Check warning on line 290 in openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java#L290

Added line #L290 was not covered by tests

Check warning on line 301 in openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java#L300-L301

Added lines #L300 - L301 were not covered by tests

Check warning on line 304 in openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/channel/ChannelApi.java#L304

Added line #L304 was not covered by tests

Check warning on line 66 in openbas-api/src/main/java/io/openbas/rest/collector/CollectorApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/collector/CollectorApi.java#L66

Added line #L66 was not covered by tests

Check warning on line 53 in openbas-api/src/main/java/io/openbas/rest/comcheck/ComcheckApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/comcheck/ComcheckApi.java#L53

Added line #L53 was not covered by tests

Check warning on line 84 in openbas-api/src/main/java/io/openbas/rest/comcheck/ComcheckApi.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/comcheck/ComcheckApi.java#L84

Added line #L84 was not covered by tests