feat: improve error messages for client side comparison check
This commit is contained in:
1 parent
ae7a17ad92
commit
e9b0452d38
1 file changed
+4
-1
@@ -113,7 +113,10 @@ pub fn StudentEligibilityPage() -> impl IntoView {
|
||||
|prev, requirement| {
|
||||
let result = requirement
|
||||
.compare(&student_info)
|
||||
.unwrap_or(false);
|
||||
.unwrap_or_else(|err| {
|
||||
debug_log!("Requirement failed: {err}");
|
||||
false
|
||||
});
|
||||
if prev { prev } else { result }
|
||||
},
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user