Skip to content

Fix IndexOutOfRangeException in ExceptionFormatter#1800

Merged
patriksvensson merged 1 commit intospectreconsole:mainfrom
martincostello:gh-1798
Apr 9, 2025
Merged

Fix IndexOutOfRangeException in ExceptionFormatter#1800
patriksvensson merged 1 commit intospectreconsole:mainfrom
martincostello:gh-1798

Conversation

@martincostello
Copy link
Copy Markdown
Contributor

@martincostello martincostello commented Apr 9, 2025

fixes #1798

  • I have read the Contribution Guidelines
  • I have commented on the issue above and discussed the intended changes
  • A maintainer has signed off on the changes and the issue was assigned to me
  • All newly added code is adequately covered by tests
  • All existing tests are still running without errors
  • No documentation changes are required.

Changes

Fix IndexOutOfRangeException if an exception does not have an associated stack trace.

Fix `IndexOutOfRangeException` if an exception does not have an associated stack trace.

Resolves #1798.
Copy link
Copy Markdown
Contributor

@patriksvensson patriksvensson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@patriksvensson patriksvensson merged commit 6105ee2 into spectreconsole:main Apr 9, 2025
3 checks passed
@patriksvensson
Copy link
Copy Markdown
Contributor

Merged! Thank you for your contribution. Much appreciated! 👍

@martincostello martincostello deleted the gh-1798 branch April 9, 2025 10:37
This was referenced Sep 8, 2025
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.

IndexOutOfRangeException thrown by AnsiConsoleExtensions.WriteException if no stack trace

2 participants