Module:ModifierTables: Difference between revisions

m
Add error category to error messages
(_getModifierTable: Return an error message if the provided skill wasn't found rather than continuing)
m (Add error category to error messages)
Line 211: Line 211:
local skillID = Constants.getSkillID(skill)
local skillID = Constants.getSkillID(skill)
if skillID == nil then
if skillID == nil then
return 'ERROR: Failed to find a skill ID for ' .. skill
return 'ERROR: Failed to find a skill ID for ' .. skill .. '[[Category:Pages with script errors]]'
else
else
skill = skillID
skill = skillID