This commit is contained in:
2025-06-15 20:39:09 -04:00
parent cf44882976
commit a11c8b75f7

View File

@@ -52,6 +52,7 @@ local function createSoundFile(fileName)
event, url, handle = os.pullEvent() event, url, handle = os.pullEvent()
if event == "http_failure" and url == fullPath then if event == "http_failure" and url == fullPath then
print("HTTP request failed for: " .. url) print("HTTP request failed for: " .. url)
print(event)
return nil return nil
end end
if event == "http_success" then if event == "http_success" then
@@ -98,4 +99,4 @@ end
local function report() local function report()
end end
return { report = report, watch = watch, startup = startup, shutdown = shutdown, playControlRoomAlarm = playControlRoomAlarm, addSoundFile = addSoundFile } return { report = report, watch = watch, startup = startup, shutdown = shutdown, playControlRoomAlarm = playControlRoomAlarm, addSoundFile = addSoundFile, playExternalAlarm = playExternalAlarm, playInternalAlarm = playInternalAlarm }