Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Failed commits provide no feedback #495

Closed

Description

@sophaskins

When I try to make a commit, but doing so fails (preconditions fail, or I type my gpg password incorrectly), the changes stay staged, but I don't get any of the output that caused it to fail (or any outward information that it failed, other than that the changes are still staged)

Versions

Atom Version (atom --version): 1.13.1

GitHub Package Version (git --git-dir ~/.atom/packages/github/.git rev-parse head): 11ebd4d

Activity

  1. smashwilson commented on Jan 31, 2017

    @smashwilson
    Contributor

    We do dump stderr from the git subprocess into the developer console... but we really should be using the notifications API to report errors, instead. 🤔

  2. BinaryMuse commented on Feb 2, 2017

    @BinaryMuse
    Contributor

    We've been defaulting to swallowing errors as we haven't really thought much about error handling; the assumption up until now is that if a Git operation fails, it's probably the package's fault. However, hooks change that story up. We should probably show these in a nice way, and I'm not sure if the NotificationManager is the best (though we could start there).

  3. bwestover commented on May 4, 2017

    @bwestover

    I was affected by this "silent treatment" in #737, so 👍 for adding some error output.

    We do dump stderr from the git subprocess into the developer console...

    This was helpful, thank you @smashwilson 🙇

  4. bwestover commented on May 9, 2017

    @bwestover

    @smashwilson - I think this one is fixed by #760 but didn't get auto-closed.

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

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