League-of-Foundry-Developers/fvtt-module-trigger-happy

[BUG] (probably not a bug) Cautions on all my triggers

Motara7 opened this issue · 1 comments

Module Version: v0.8.39

Describe the bug
I get the following caution on all of my triggers:

trigger-happy | Can't retrieve the config with entity 'token' and key 'Targets' or 'undefined' on '@token[Targets]'
warn @ trigger.js:7
_manageTriggerEventMultiple @ trigger.js:856
_parseJournal @ trigger.js:581
(anonymous) @ trigger.js:496
_parseJournals @ trigger.js:496
(anonymous) @ trigger.js:343
_call @ foundry.js:294
callAll @ foundry.js:253
setupGame @ foundry.js:5566

In each case, the token exists and clicking the token results in the correct action. So, really this caution doesn't matter except for the fact that every time I switch scenes, this huge barrage of cautions spams my console and eventually bloats my debug and error logs to an absurd degree.

It looks like this is a "me" problem and not a Trigger Happy bug, but I'm just looking for some help on how to resolve it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any scene
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
I expect not to have a huge number of cautions every time I switch scenes

Screenshots
If applicable, add screenshots to help explain your problem.

Browser:

  • Chrome (most recent)

Foundry Version:
Version 9
Build 249

Game System:
Pathfinder 1 0.80.9

Additional context
No other mods running (Trigger Happy only).

They are just for help you with the setup, you can choose to prepare a journal for every specific scene or just disable every warning with the apposite module settings. Checkout the readme for more details.