Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When logging NSErrors, include domain and code #295

Open
jksk opened this issue Nov 4, 2016 · 0 comments
Open

When logging NSErrors, include domain and code #295

jksk opened this issue Nov 4, 2016 · 0 comments

Comments

@jksk
Copy link

jksk commented Nov 4, 2016

Currently, it seems that localizedFailureReason, localizedDescription, localizedRecoverySuggestion and localizedRecoveryOptions are being logged. Curiously, error domain and error code aren't logged. Often, this is the most pertinent information.

Case in point: I have some logged errors which only contains the description "The operation couldn't be completed", and no other information. This makes them hard to track.

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

No branches or pull requests

1 participant