Skip to content

When logging NSErrors, include domain and code #295

@jksk

Description

@jksk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions