mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user