Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Motara7 opened this issue Feb 25, 2022 · 1 comment
Open

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

Motara7 opened this issue Feb 25, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Motara7
Copy link

Motara7 commented Feb 25, 2022

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).

@Motara7 Motara7 added the bug Something isn't working label Feb 25, 2022
@p4535992
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants