You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A number of methods can return null which can result in NPEs (e.g., OtpDispatcher#sendOtpRequest and some JSON/Date utils). I would prefer for this method to throw a non-runtime exception if the request failed so that code that uses this method can properly account for times when an OTP request fails.
landonreed
changed the title
Modify OtpDispatcher#sendOtpRequest to throw exception instead of returning null
Review Utils to ensure they are throwing exceptions and not failing silently/returning null
Aug 4, 2020
A number of methods can return null which can result in NPEs (e.g., OtpDispatcher#sendOtpRequest and some JSON/Date utils). I would prefer for this method to throw a non-runtime exception if the request failed so that code that uses this method can properly account for times when an OTP request fails.
Originally posted by @evansiroky in https://github.com/ibi-group/otp-middleware/diffs
Also: #45 (comment)
The text was updated successfully, but these errors were encountered: