diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/sugar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/sugar.js b/src/util/sugar.js index 0522b59e..2e724bae 100644 --- a/src/util/sugar.js +++ b/src/util/sugar.js @@ -624,7 +624,7 @@ export function decorateErrorWithIndex(fn) { return fn(x, index, array); } catch (error) { error.message = `(${colors.yellow(`#${index + 1}`)}) ${error.message}`; - error[Symbol.for('hsmusic.sugar.index')] = 1; + error[Symbol.for('hsmusic.decorate.indexInSourceArray')] = index; throw error; } }; |