mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 09:28:11 +00:00
adjust logging
This commit is contained in:
1 parent
59e3a98807
commit
47cab8ab77
1 file changed
+4
-4
@@ -176,6 +176,10 @@ impl NotificationDetails {
|
||||
parts.push(format!("HTTP Status Code: {}", status_code));
|
||||
}
|
||||
|
||||
if let Some(ip) = &self.request_ip_address {
|
||||
parts.push(format!("Request IP: {}", ip));
|
||||
}
|
||||
|
||||
if parts.is_empty() { None } else { Some(parts.join("\n")) }
|
||||
}
|
||||
|
||||
@@ -199,10 +203,6 @@ impl NotificationDetails {
|
||||
parts.push(format!("Third Party ID: {}", third_party_id));
|
||||
}
|
||||
|
||||
if let Some(ip) = &self.request_ip_address {
|
||||
parts.push(format!("Request IP: {}", ip));
|
||||
}
|
||||
|
||||
if let Some(avt) = &self.avt_cookie_token {
|
||||
parts.push(format!("AVT Cookie Token: {}", avt));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user