mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 23:17:20 +01:00
Additional /world/Export logging
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user