Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Please print something for every error #166

@rrthomas

Description

@rrthomas

Pretty-printing does a nice job of making error messages pretty, but when it gets an error object it doesn't understand, it doesn't print anything. For example, I got this error:

{
  reason: 'FREE_TIER_EXCEEDED',
  details: 'You have exceeded the free tier data limit! Please add a credit card to your profile to continue pinning content with Pinata.'
}

oclif/errors doesn't look at the fields reason or details, so my program just quit with status of 1 but no error message.

It would be good if something were always printed, even if it's uglier in the case of errors that oclif can't parse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions