diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/sugar.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/sugar.js b/src/util/sugar.js index 29fcf848..0522b59e 100644 --- a/src/util/sugar.js +++ b/src/util/sugar.js @@ -624,6 +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; throw error; } }; |