Closed lasyaneti closed 11 months ago
Really hard to debug iOS without checking API logs. Instead of doing print() to Console, display error to user with Alert.
print()
Alert
Display these error messages as returned from API, also include STATUS 400
{ "error": "CodeExpired" }
https://github.com/HackIllinois/iOS/blame/8f29d0b5b0d71a26222e30d8dc1e01832104c090/HackIllinois/ViewControllers/HIScanAttendanceViewController.swift#L249C18-L249C18
Really hard to debug iOS without checking API logs. Instead of doing
print()
to Console, display error to user withAlert
.Display these error messages as returned from API, also include STATUS 400
https://github.com/HackIllinois/iOS/blame/8f29d0b5b0d71a26222e30d8dc1e01832104c090/HackIllinois/ViewControllers/HIScanAttendanceViewController.swift#L249C18-L249C18