Added nil check for itemID #3

Merged
jerejere merged 3 commits from master into master 2020-03-27 19:44:35 -07:00
jerejere commented 2020-03-27 11:28:26 -07:00 (Migrated from github.com)

Querying item (eg. trigger +"ASD") that doesn't exist would return error message for the addon owner:

Message: ...eSkillMaster_PriceChecker\Modules\EventDetection.lua line 34:
Invalid 'itemString' argument type (must be a TSM item string): nil
...
...

Now handles the nil error and returns "No such item {Skull}" for the recipient instead.

Querying item (eg. trigger +"ASD") that doesn't exist would return error message for the addon owner: Message: ...eSkillMaster_PriceChecker\Modules\EventDetection.lua line 34: Invalid 'itemString' argument type (must be a TSM item string): nil ... ... Now handles the nil error and returns "No such item {Skull}" for the recipient instead.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
scrable/TradeSkillMaster_PriceChecker!3
No description provided.