Skip to content

Conversation

@eirvandelden
Copy link

This is the change I made locally to fix the FrozenError exception as I encountered it in #967

@st0012 st0012 added this to the 3.0.1 milestone Aug 6, 2020
@st0012
Copy link
Collaborator

st0012 commented Aug 6, 2020

@eirvandelden thanks for the work! I have fixed the CI build btw, can you rebase the latest master and push again?

@eirvandelden
Copy link
Author

eirvandelden commented Aug 6, 2020 via email

@eirvandelden
Copy link
Author

@st0012 I've rebased and all test pass 👍

@st0012
Copy link
Collaborator

st0012 commented Aug 7, 2020

@eirvandelden after digging into the issue, I think a more thorough solution is to avoid using string mutation methods (<<) and just use string concatenation. I also added a test suite with --enable-frozen-string-literal option enabled.

the above changes are made in https://github.com/getsentry/raven-ruby/pull/977. so I will close this one after merging it. thanks again for reporting the issue and sorry for not asking to rebase before giving it a closer look 😢

@eirvandelden
Copy link
Author

That's okay, I thought about rewriting the code to no longer using string mutation, but opted not to, because I'm unfamiliar with the code base. I'm glad you took the effort to do it 👍

@st0012 st0012 closed this Aug 7, 2020
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.

2 participants