mirror of
https://github.com/AntumMT/mod-wdata.git
synced 2024-07-04 15:05:19 +02:00
Change "error" message to "warning" when file not found for reading
This commit is contained in:
parent
aaa408bcf5
commit
e33937584f
2
api.lua
2
api.lua
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user