Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Conversation

@Boudin
Copy link

@Boudin Boudin commented May 3, 2017

I had an issue on an old ruby 1.9.3 project where the function generating the stack trace is failing because of a stack trace line being on file internal:prelude, which does not exists and a trace on line 0, which result in trying to access line -1 in the array containing files content.

The following pull request is a quick fix that :

  • does not try to fetch content from files that does not exists
  • set source code to "" when the file or the line does not exists

@Boudin
Copy link
Author

Boudin commented May 3, 2017

Sorry, just saw the pull request #145 concerning the same issue. I'm closing this one for now.

@Boudin Boudin closed this May 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants