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

Commit e00c98c

Browse files
Returning the exception message
1 parent c03a55d commit e00c98c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PopupWindow.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ class PopupWindow : BaseWindow
99
{
1010
private const string CredentialsNeedRefreshMessage = "We've detected that your stored credentials are out of sync with your current user. This can happen if you have signed in to git outside of Unity. Sign in again to refresh your credentials.";
1111
private const string NeedAuthenticationMessage = "We need you to authenticate first";
12-
private const string AccountValidationErrorMessage = "There was an error validating your account";
1312

1413
public enum PopupViewType
1514
{
@@ -83,7 +82,7 @@ private void Open(PopupViewType popupViewType, Action<bool> onClose)
8382

8483
if (usernameMismatchException == null && keychainEmptyException == null)
8584
{
86-
message = AccountValidationErrorMessage;
85+
message = exception.Message;
8786
}
8887

8988
OpenInternal(PopupViewType.AuthenticationView, completedAuthentication => {

0 commit comments

Comments
 (0)