Log errors on encoding/decoding with the key name. #241

Merged
merged 1 commit into from Feb 13, 2014

Conversation

Projects
None yet
2 participants
@dblock
Contributor

dblock commented Feb 13, 2014

Logging class and key names on decoding and encoding. So you get something helpful:

2014-02-13 10:37:16.847 otest[35710:303] +[NSString length]: unrecognized selector sent to class 0x7fff73f67ea0
2014-02-13 10:37:16.848 otest[35710:303] *** Caught exception encoding value for key "klass" on class TestClass: +[NSString length]: unrecognized selector sent to class 0x7fff73f67ea0

Closes #238.

@jspahrsummers jspahrsummers self-assigned this Feb 13, 2014

@jspahrsummers

This comment has been minimized.

Show comment Hide comment
@jspahrsummers

jspahrsummers Feb 13, 2014

Owner

Thank you! 🌌

Owner

jspahrsummers commented Feb 13, 2014

Thank you! 🌌

jspahrsummers added a commit that referenced this pull request Feb 13, 2014

Merge pull request #241 from dblock/log-error-on-encoding-decoding
Log errors on encoding/decoding with the key name.

@jspahrsummers jspahrsummers merged commit c705435 into Mantle:master Feb 13, 2014

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