Skip to content

Describe / Context error output fix#186

Merged
dlwyatt merged 1 commit intopester:Betafrom
dlwyatt:DescribeAndContextErrorOutputFix
Aug 11, 2014
Merged

Describe / Context error output fix#186
dlwyatt merged 1 commit intopester:Betafrom
dlwyatt:DescribeAndContextErrorOutputFix

Conversation

@dlwyatt
Copy link
Copy Markdown
Member

@dlwyatt dlwyatt commented Aug 11, 2014

Previous code was relying on the ScriptStackTrace property of ErrorRecord objects, which doesn't exist in PowerShell 2.0. Code updated to use ErrorRecord.InvocationInfo.PositionMessage instead.

Previous code was relying on the ScriptStackTrace property of ErrorRecord objects, which doesn't exist in PowerShell 2.0.  Code updated to use ErrorRecord.InvocationInfo.PositionMessage instead.
dlwyatt added a commit that referenced this pull request Aug 11, 2014
@dlwyatt dlwyatt merged commit 6809ae3 into pester:Beta Aug 11, 2014
@dlwyatt dlwyatt deleted the DescribeAndContextErrorOutputFix branch August 11, 2014 01:59
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