You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
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
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. 🤔
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).
Activity
smashwilson commentedon Jan 31, 2017
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. 🤔
BinaryMuse commentedon Feb 2, 2017
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
NotificationManageris the best (though we could start there).bwestover commentedon May 4, 2017
I was affected by this "silent treatment" in #737, so 👍 for adding some error output.
This was helpful, thank you @smashwilson 🙇
bwestover commentedon May 9, 2017
@smashwilson - I think this one is fixed by #760 but didn't get auto-closed.