git: don't write obvious "failed with error" when push fails

It is already covered by the "Push Failed" notification title
and the error notification type.
This commit is contained in:
Kirill Likhodedov
2018-03-11 18:51:09 +03:00
parent bb35c42c2f
commit dad4576381
@@ -175,7 +175,7 @@ class GitPushResultNotification extends Notification {
description = String.format("push %s to %s was rejected by remote", sourceBranch, targetBranch); description = String.format("push %s to %s was rejected by remote", sourceBranch, targetBranch);
break; break;
case ERROR: case ERROR:
description = "failed with error: " + result.getError(); description = result.getError();
break; break;
default: default:
LOG.error("Unexpected push result: " + result); LOG.error("Unexpected push result: " + result);