On the current CoA Beta client, C_ClassInfo.GetAllSpecs(class) returns items that GetSpecInfo cannot accept as arg #2, throwing 'Script::ValidateInput Invalid argument type at index 2. Expected string.' ~150 times per session across DF, LibOpenRaid, gears, profiles, etc. Wrap every unguarded GetSpecInfo(class, spec) site in pcall + nil-guard so the iteration skips bad entries silently. Matches the pattern already used by CoaExporter and prevents Error.txt flooding. |
||
|---|---|---|
| .. | ||
| aura_scan.lua | ||
| control.lua | ||
| gears.lua | ||
| meta.lua | ||
| network.lua | ||
| parser.lua | ||
| parser_timewalk.lua | ||
| plugins.lua | ||
| plugins_raid.lua | ||
| plugins_solo.lua | ||
| plugins_statusbar.lua | ||
| plugins_toolbar.lua | ||
| timemachine.lua | ||
| util.lua | ||
| windows.lua | ||