Skip to content

Commit a9ac8c1

Browse files
committed
Add debug logging since local docker and github docker are mismatching
1 parent 76c42cd commit a9ac8c1

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/Launch.lua

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44
-- Module: Launch
55
-- Program entry point; loads and runs the Main module within a protected environment
66
--
7+
local env_pob_test_mode_raw = os.getenv("POB_TEST_MODE")
78

8-
local isTestMode = os.getenv("POB_TEST_MODE") == "1"
9+
print("--- Debugging POB_TEST_MODE ---")
10+
print("Raw POB_TEST_MODE from os.getenv:", tostring(env_pob_test_mode_raw))
11+
local isTestMode = env_pob_test_mode_raw == "1"
12+
print("isTestMode calculated value:", tostring(isTestMode))
13+
print("-------------------------------")
914

1015
local startTime = GetTime()
1116
APP_NAME = "Path of Building (PoE2)"

0 commit comments

Comments
 (0)