From 9bfcfcc8ae17e2dbfd92ff75dfea14c4b4faf061 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sat, 19 Jan 2019 16:30:43 +0300 Subject: [PATCH] aefaef --- Installer/Main.lua | 2 +- OS.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Installer/Main.lua b/Installer/Main.lua index 3fbb7ffc..b10d1b00 100644 --- a/Installer/Main.lua +++ b/Installer/Main.lua @@ -189,7 +189,7 @@ function require(module) if package.loaded[module] then return package.loaded[module] elseif package.loading[module] then - error("already loading " .. module) + error("already loading " .. module .. ": " .. debug.traceback()) else package.loading[module] = true package.loaded[module] = dofile(installerPath .. "Libraries/" .. module .. ".lua") diff --git a/OS.lua b/OS.lua index 031c86d1..98d99294 100644 --- a/OS.lua +++ b/OS.lua @@ -51,7 +51,7 @@ function require(module) if package.loaded[lowerModule] then return package.loaded[lowerModule] elseif package.loading[lowerModule] then - error("recursive require() call found: library \"" .. module .. "\" is trying to require another library that requires it") + error("recursive require() call found: library \"" .. module .. "\" is trying to require another library that requires it\n" .. debug.traceback()) else local errors = {}