Skip to content

Commit e164ada

Browse files
committed
Fix log formatting in SendMaliciousEventsToBackend to include a space before the body payload in error messages
1 parent 6172709 commit e164ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/threat-detection/src/main/java/com/akto/threat/detection/tasks/SendMaliciousEventsToBackend.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected void processRecords(ConsumerRecords<String, byte[]> records) {
6363
if (response.getStatusCode() >= 400 || responsePayload == null) {
6464
logger.errorAndAddToDb(
6565
"record_malicious_event failed: status="
66-
+ response.getStatusCode() + "body=" + responsePayload
66+
+ response.getStatusCode() + " body=" + responsePayload
6767
);
6868
}
6969
} catch (Exception e) {

0 commit comments

Comments
 (0)