summaryrefslogtreecommitdiff
path: root/tex/context/base/util-lib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/util-lib.lua')
-rw-r--r--tex/context/base/util-lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/util-lib.lua b/tex/context/base/util-lib.lua
index c5c999113..6498d2661 100644
--- a/tex/context/base/util-lib.lua
+++ b/tex/context/base/util-lib.lua
@@ -209,7 +209,7 @@ local function requireswiglib(required,version)
if libtype == "function" then
library = library()
else
- report_swiglib("load error: %a returns %a, message %a",opener,libtype,message or "no message")
+ report_swiglib("load error: %a returns %a, message %a, library %a",opener,libtype,(string.gsub(message or "no message","[%s]+$","")),found_library or "no library")
library = false
end
dir.pop()