Error table expected on character login
jdmaddison opened this issue ยท 2 comments
Running Software (please complete the following information):
- Build 8.0.1.2717843
- 8.0.6
Have you read the changelog? (please don't waste our time)
Yes.
Describe the bug
Error detected by Swatter on character login.
Expected behavior
Not to get error.
Error Logs
Date: 2018-09-22 10:04:48
ID: 1
Error occured in: Global
Count: 1
Message: ...erface\AddOns\PetTracker\Features\BattleListener.lua line 39:
bad argument #1 to 'pairs' (table expected, got nil)
Debug:
[C]: pairs()
...erface\AddOns\PetTracker\Features\BattleListener.lua:39: Upgrade()
...erface\AddOns\PetTracker\Features\BattleListener.lua:30: ?()
PetTracker\PetTracker.lua:40: ForAllModules()
PetTracker\PetTracker.lua:54: ?()
PetTracker\PetTracker.lua:21:
PetTracker\PetTracker.lua:21
Locals:
(*temporary) = nil
(*temporary) = "table expected, got nil"
= defined =[C]:-1
To Reproduce
Steps to reproduce the behavior:
Login with LUA error displayed.
Corrected by #99