Test assertion and logging to try and narrow down the cause of the Linux advanced watchdog failures

This commit is contained in:
Jordan Dominion
2024-09-07 21:43:38 -04:00
parent 4570a20a3a
commit 5696aa5263
2 changed files with 8 additions and 2 deletions
+3 -1
View File
@@ -15,7 +15,9 @@
var/ibf = message == "Failed initial bridge request!"
if(ibf || message == "Failed bridge request, bad json: null" || findtext(message, "byond_world_export: Failed request: ") || message == "Failed to activate API!")
if(ibf)
text2file("yes", "initial_bridge_failed.txt")
world.log << "Writing test fail file..."
text2file("BRIDGE FAILED", "initial_bridge_failed.txt")
world.log << "File exists: [fexists("initial_bridge_failed.txt")]"
del(world)
sleep(1)