nodeunit icon indicating copy to clipboard operation
nodeunit copied to clipboard

Fix error when hiding stack trace

Open iahs opened this issue 11 years ago • 0 comments

Fixes error when stack trace is hidden with Error.stackTraceLimit = 0 Potentially provides a fix to #64

The error message:

nodeunit/lib/utils.js:212
            e.stack.split('\n').slice(1).join('\n')
                    ^
TypeError: Cannot call method 'split' of undefined

iahs avatar Aug 08 '14 02:08 iahs