Additional /world/Export logging

This commit is contained in:
Jordan Dominion
2023-07-12 07:59:53 -04:00
parent 8301e6bd64
commit 772e884e8d
+4 -3
View File
@@ -194,9 +194,10 @@ var/received_health_check = FALSE
FailTest("Expected no chat channels after detach!")
/world/Export(url)
if(length(url) < 1000)
log << "Export: [url]"
return ..()
var/redact = length(url) > 1000
log << "Export: [redact ? "<REDACTED>" : url]"
. = ..()
log << "Export completed: [redact ? "<REDACTED>" : json_encode(.)]"
/proc/RebootAsync()
set waitfor = FALSE