PAN-50 Addressed Brittany's comment about logging consistency
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ public class DefinitionController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (definitionDto == null) {
|
if (definitionDto == null) {
|
||||||
LOG.error("Passed entity is unprocessable");
|
LOG.error("Passed entity is null");
|
||||||
return new ResponseEntity<>(HttpStatus.BAD_REQUEST);
|
return new ResponseEntity<>(HttpStatus.BAD_REQUEST);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -130,7 +130,7 @@ public class TheoremController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (theoremDto == null) {
|
if (theoremDto == null) {
|
||||||
LOG.error("Passed entity is unprocessable");
|
LOG.error("Passed entity is null");
|
||||||
return new ResponseEntity<>(HttpStatus.BAD_REQUEST);
|
return new ResponseEntity<>(HttpStatus.BAD_REQUEST);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user