-
Notifications
You must be signed in to change notification settings - Fork 58
[Bug] Exception thrown when serializing NameError exceptions using Psych #23
Comments
Are there any known workarounds? I'm a little leery special casing a fix via say, replacing NameError::message with a string, as it may then make us unable to take a fix for ruby/psych#85 without a breaking change. The most recent comment on the issue seems to suggest there is no workaround for more recent versions of ruby(=~1.9.3p362). |
After playing around with it the only solutions I was able to get working were:
The downside of that is it would require more special handling to take care of exceptions which have other attributes (like reason & details) |
We have a couple possible candidate fixes to this, one of which will hopefully go out soon. Just letting you know we're still working on fixing this. |
Great, thanks for the update! |
Any update on this issue? |
Steps to reproduce:
Output:
This is actually a bug in Psych (see ruby/psych#85), but since it's been open for more than a year it would be nice if the flows gem worked around it
The text was updated successfully, but these errors were encountered: