fractaledmind / solid_errors

database-backed, app-internal exception tracker for Rails applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FrozenError with frozen_string_literal

joelmoss opened this issue · comments

When using frozen string literals, raising an exception with a message raises an exception (can't modify frozen String: "...") in SolidErrors itself...

raise StandardError, 'some error'

The culprit is the use of String#gsub! here.