mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-29 02:48:40 +00:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca3724127f |
@@ -158,7 +158,7 @@ namespace Auth {
|
|||||||
// Bring game back to foreground even on failure
|
// Bring game back to foreground even on failure
|
||||||
WindowFocusManager.BringToForeground();
|
WindowFocusManager.BringToForeground();
|
||||||
|
|
||||||
Debug.LogError($"[OAuthManager] Login failed: {ex.Message}");
|
Debug.LogWarning($"[OAuthManager] Login failed: {ex.Message}");
|
||||||
OnLoginFailed?.Invoke(ex.Message);
|
OnLoginFailed?.Invoke(ex.Message);
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -499,7 +499,7 @@ public class ConnectionHandler : MonoBehaviour, ILobbySubscriber, IDisposable {
|
|||||||
await OAuthManager.Instance.LoginAsync(provider);
|
await OAuthManager.Instance.LoginAsync(provider);
|
||||||
// OnLoginSuccess or OnNewUserNeedsDisplayName will be called
|
// OnLoginSuccess or OnNewUserNeedsDisplayName will be called
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
Debug.LogError($"OAuth login failed: {ex.Message}");
|
Debug.LogWarning($"OAuth login failed: {ex.Message}");
|
||||||
if (oauthStatusText != null) { oauthStatusText.text = $"Login failed: {ex.Message}"; }
|
if (oauthStatusText != null) { oauthStatusText.text = $"Login failed: {ex.Message}"; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user