Fix for #21: MultiJson::DecodeError should contain string attempting to be parsed #22

Merged
merged 1 commit into from Sep 13, 2011

Conversation

Projects
None yet
2 participants
@mbbx6spp
Contributor

mbbx6spp commented Sep 13, 2011

Sometimes indirect clients of MultiJson have no easy way to determine the data attempting to be parsed into JSON, therefore a data attribute is added to MultiJson::DecodeError class and attribute is set when raising the exception.

Set data context to DecodeError exception #21
Sometimes indirect clients of MultiJson have no easy way to determine the data
attempting to be parsed into JSON, therefore a data attribute is added to
MultiJson::DecodeError class and attribute is set when raising the exception.
@joshk

This comment has been minimized.

Show comment
Hide comment
@joshk

joshk Sep 13, 2011

Contributor

Hey @mbbx6spp

Thanks for the pull request!

I'll try to release a new patch release soon.

Contributor

joshk commented Sep 13, 2011

Hey @mbbx6spp

Thanks for the pull request!

I'll try to release a new patch release soon.

joshk added a commit that referenced this pull request Sep 13, 2011

Merge pull request #22 from mbbx6spp/master
Fix for #21: MultiJson::DecodeError should contain string attempting to be parsed

@joshk joshk merged commit e7a3203 into intridea:master Sep 13, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment