Skip to content

Commit

Permalink
[backend] Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
savacano28 committed Jan 10, 2025
1 parent 9a4361b commit 4c88e04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openbas-api/src/main/java/io/openbas/rest/log/LogApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,28 @@ public void logDetails(@RequestBody LogDetailsInput logDetailsInput) {
logger.warn(

Check warning on line 20 in openbas-api/src/main/java/io/openbas/rest/log/LogApi.java

View check run for this annotation

Codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/log/LogApi.java#L20

Added line #L20 was not covered by tests
"Message warn received: "
+ logDetailsInput.getMessage()

Check warning on line 22 in openbas-api/src/main/java/io/openbas/rest/log/LogApi.java

View check run for this annotation

Codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/log/LogApi.java#L22

Added line #L22 was not covered by tests
+ "stacktrace: "
+ " stacktrace: "
+ logDetailsInput.getStack());
break;

Check warning on line 25 in openbas-api/src/main/java/io/openbas/rest/log/LogApi.java

View check run for this annotation

Codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/log/LogApi.java#L24-L25

Added lines #L24 - L25 were not covered by tests
case "INFO":
logger.info(

Check warning on line 27 in openbas-api/src/main/java/io/openbas/rest/log/LogApi.java

View check run for this annotation

Codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/log/LogApi.java#L27

Added line #L27 was not covered by tests
"Message info received: "
+ logDetailsInput.getMessage()

Check warning on line 29 in openbas-api/src/main/java/io/openbas/rest/log/LogApi.java

View check run for this annotation

Codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/log/LogApi.java#L29

Added line #L29 was not covered by tests
+ "stacktrace: "
+ " stacktrace: "
+ logDetailsInput.getStack());
break;

Check warning on line 32 in openbas-api/src/main/java/io/openbas/rest/log/LogApi.java

View check run for this annotation

Codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/log/LogApi.java#L31-L32

Added lines #L31 - L32 were not covered by tests
case "DEBUG":
logger.debug(

Check warning on line 34 in openbas-api/src/main/java/io/openbas/rest/log/LogApi.java

View check run for this annotation

Codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/log/LogApi.java#L34

Added line #L34 was not covered by tests
"Message debug received: "
+ logDetailsInput.getMessage()

Check warning on line 36 in openbas-api/src/main/java/io/openbas/rest/log/LogApi.java

View check run for this annotation

Codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/log/LogApi.java#L36

Added line #L36 was not covered by tests
+ "stacktrace: "
+ " stacktrace: "
+ logDetailsInput.getStack());
break;

Check warning on line 39 in openbas-api/src/main/java/io/openbas/rest/log/LogApi.java

View check run for this annotation

Codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/log/LogApi.java#L38-L39

Added lines #L38 - L39 were not covered by tests
default:
logger.error(

Check warning on line 41 in openbas-api/src/main/java/io/openbas/rest/log/LogApi.java

View check run for this annotation

Codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/log/LogApi.java#L41

Added line #L41 was not covered by tests
"Message error received: "
+ logDetailsInput.getMessage()

Check warning on line 43 in openbas-api/src/main/java/io/openbas/rest/log/LogApi.java

View check run for this annotation

Codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/log/LogApi.java#L43

Added line #L43 was not covered by tests
+ "stacktrace: "
+ " stacktrace: "
+ logDetailsInput.getStack());

Check warning on line 45 in openbas-api/src/main/java/io/openbas/rest/log/LogApi.java

View check run for this annotation

Codecov / codecov/patch

openbas-api/src/main/java/io/openbas/rest/log/LogApi.java#L45

Added line #L45 was not covered by tests
break;
}
Expand Down

0 comments on commit 4c88e04

Please sign in to comment.