Skip to content

Commit 9a67b76

Browse files
committed
Add user-facing error
1 parent aa2d314 commit 9a67b76

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/main/java/com/cornellappdev/coursegrab/LoginActivity.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ class LoginActivity : AppCompatActivity() {
172172

173173
else -> {
174174
Log.e(TAG, "Unexpected type of credential: ${credential::class}")
175+
showLoginError("Sign-in failed. Please try again.")
175176
return
176177
}
177178
}

0 commit comments

Comments
 (0)