Larkinabout / fvtt-custom-dnd5e

11 stars 6 forks source link

[BUG] Maximum call stack size exceeded #12

Closed fluxxdog closed 6 months ago

fluxxdog commented 6 months ago

Describe the bug Logger.debug() causes call stack errors. It calls getSetting() which calls Logger.debug() which calls... until the call stack throws an error.

Versions:

Additional context

utils.js:18 Uncaught (in promise) RangeError: Maximum call stack size exceeded
    at Logger.debug (utils.js:18:9)
    at getSetting (utils.js:111:16)
    at Logger.debug (utils.js:18:30)
    at getSetting (utils.js:111:16)
    at Logger.debug (utils.js:18:30)
    at getSetting (utils.js:111:16)
    at Logger.debug (utils.js:18:30)
    at getSetting (utils.js:111:16)
    at Logger.debug (utils.js:18:30)
    at getSetting (utils.js:111:16)
Larkinabout commented 6 months ago

Fixed in 0.5.1.