Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Reduce console errors (UNTESTED) #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LaytonGB
Copy link

@LaytonGB LaytonGB commented Sep 14, 2020

I'm getting errors in the console that aren't actually problems. This should silence the errors.

Errors:

turnmarker.js:56 Uncaught (in promise) TypeError: Cannot read property 'token' of undefined
    at turnmarker.js:56
    at Function._call (foundry.js:2239)
    at Function.call [as __furnace_original_call] (foundry.js:2224)
    at Function.callOriginalFunction (Patches.js:57)
    at Function.<anonymous> (Debug.js:42)
    at foundry.js:10265
    at Array.reduce (<anonymous>)
    at Scene.updateEmbeddedEntity (foundry.js:10253)
    at Token.update (foundry.js:12053)
    at DragRuler.moveToken (showdragdistance.js:323)

Fixes #12

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] A error message on the browser console but the module seem work fine
1 participant