Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error when hiding stack trace #271

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

Fix error when hiding stack trace #271

wants to merge 1 commit into from

Conversation

iahs
Copy link

@iahs iahs commented Aug 8, 2014

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

Fixes error when stack trace is hidden with ```Error.stackTraceLimit = 0```
Potentially provides a fix to caolan#64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant