This repository was archived by the owner on Mar 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed
Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -65,14 +65,19 @@ return function()
6565 local MainEntry = Import (ProcessInfo .Entrypoints .Main )
6666
6767 if not MainEntry then
68- ProcessHelper . Fail (" The main entry of " .. ProcessInfo .ID .. " '" .. ProcessInfo .Entrypoints .Main .. " ' was not found!" )
68+ Logger . Error (" The main entry of " .. ProcessInfo .ID .. " '" .. ProcessInfo .Entrypoints .Main .. " ' was not found!" )
6969 process :exit (1 )
7070 end
7171
7272 local EntryWorked , EntryError = pcall (function ()
7373 MainEntry .OnInitialize ()
7474 end )
7575
76+ if not EntryWorked then
77+ Logger .Error (" Error in runtime, " .. EntryError )
78+ end
79+
80+ --[[
7681 if not EntryWorked then
7782
7883 local ParseStepOne = Split(EntryError, "\\")
@@ -93,5 +98,5 @@ return function()
9398 else
9499 Logger.Info("Process complete")
95100 Logger.Info("Exiting...")
96- end
101+ end]]
97102end
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ return function(Args)
3434 local MainEntry = Import (ProcessInfo .Entrypoints .Main )
3535
3636 if not MainEntry then
37- ProcessHelper . Fail (" The main entry of " .. ProcessInfo .ID .. " '" .. ProcessInfo .Entrypoints .Main .. " ' was not found!" )
37+ Logger . Error (" The main entry of " .. ProcessInfo .ID .. " '" .. ProcessInfo .Entrypoints .Main .. " ' was not found!" )
3838 process :exit (1 )
3939 end
4040
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ local Split = require("Split")
33local Logger = require (" Logger" )
44
55return function (Path )
6-
76
87 local PathSplitted = Split (Path , " ." )
98 local LastExistedPath = {}
@@ -17,13 +16,13 @@ return function(Path)
1716
1817 local RealPath = ProcessPath .. " Running/" .. ConcPath
1918 local LuaPath = RealPath .. " .lua"
20- Logger .Debug (RealPath )
21- Logger .Debug (LuaPath )
19+ Logger .Debug (" Real " .. tostring ( RealPath ) )
20+ Logger .Debug (" Lua " .. tostring ( LuaPath ) )
2221
2322 local PathExists = FS .existsSync (RealPath )
2423 local LuaExists = FS .existsSync (LuaPath )
25- Logger .Debug (PathExists )
26- Logger .Debug (LuaExists )
24+ Logger .Debug (" PathEx " .. tostring ( PathExists ) )
25+ Logger .Debug (" LuaEx " .. tostring ( LuaExists ) )
2726
2827 local OneExists = PathExists -- or LuaExists
2928
You can’t perform that action at this time.
0 commit comments