From 213b3cd59317176e94c451edecdf0eba0a26aeaa Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 15 Mar 2020 12:50:30 +0100 Subject: [PATCH] More useful debug message (print script that failed to parse) --- libs/ardour/luascripting.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/luascripting.cc b/libs/ardour/luascripting.cc index b054cf61d4..156c9bbe66 100644 --- a/libs/ardour/luascripting.cc +++ b/libs/ardour/luascripting.cc @@ -216,7 +216,7 @@ LuaScripting::scan_script (const std::string &fn, const std::string &sc) } if (err) { #ifndef NDEBUG - cerr << "failed to load lua script\n"; + cerr << "failed to load lua script fn: '"<< fn << "'\n"; #endif return LuaScriptInfoPtr(); }