Closed hroncok closed 7 years ago
What about this:
Pushing to GitHub...
Error: git push failed (exit status 128).
Note: Due to security constraints, Elsa does not show the error message from git, as it may include sensitive information and this could be logged. Use the --show-git-push-stderr switch to change this behavior.
Note to self: This is not the only place where Elsa tracebacks on the user (other places notably: Frozen Flask warnings treated as errors). That should not be acceptable, a decent error message to stderr and an appropriate exit status is usually much nicer.
That message looks good, except a typo: constraints
I've hidden the stderr to fix #25.
Now when the push could not happen (maybe bad token or such), this is what is in the log:
That's not nice, but I wanted to fix #25 ASAP so I didn't bother.