diff options
Diffstat (limited to 'tex/context/base/data-tex.lua')
-rw-r--r-- | tex/context/base/data-tex.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tex/context/base/data-tex.lua b/tex/context/base/data-tex.lua index 5c6cf5083..84ec549ae 100644 --- a/tex/context/base/data-tex.lua +++ b/tex/context/base/data-tex.lua @@ -55,6 +55,9 @@ function helpers.textopener(tag,filename,file_handle) elseif file_handle then lines = file_handle:read("*a") file_handle:close() + else + report_resolvers("%s opener, weird error: filename=%s, handle=%s",tag,tostring(filename),tostring(file_handle)) + lines = "" end if type(lines) == "string" then local kind = unicode.filetype(lines) |