Module:ItemSources: Difference between revisions

Jump to navigation Jump to search
24 bytes removed ,  12:29, 4 April 2022
no edit summary
mNo edit summary
No edit summary
Line 27: Line 27:


if status then
if status then
mw.log("no error")
-- No error, continue as usual
mw.log("storeList", inspect(storeList))
return "== Hello World =="
else
else
if string.find(message, 'The item .* is not sold in any shop,') then
if string.find(message, 'The item .* is not sold in any shop,') then
mw.log("not sold")
mw.log(message)
else
error(message)
end
end
mw.log("error")
mw.log("error data", message)
end
end
end
end

Navigation menu