Skip to content

Commit c42a98a

Browse files
committed
Add user-facing error
1 parent 27ea283 commit c42a98a

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)