Change "error" message to "warning" when file not found for reading

This commit is contained in:
Jordan Irwin 2021-05-28 02:27:35 -07:00
parent aaa408bcf5
commit e33937584f
2 changed files with 5 additions and 1 deletions

@ -38,7 +38,7 @@ function wdata.read(fname)
-- check if file exists
local fopen = io.open(fpath, "r")
if not fopen then
wdata.log("error", "file not found: " .. fpath)
wdata.log("warning", "file not found: " .. fpath)
return
end

@ -1,4 +1,8 @@
v1.1
----
- changed "error" message to "warning" when file not found for reading
v1.0
----
- initial release