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
We are catching the same errors in two places. There is never a time we'd want to try encrypting and get a None back. This function should just raise an exception.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
This function catches all errors and returns
None
:hushline/hushline/crypto.py
Lines 107 to 121 in 71140c3
And is only ever used here:
hushline/hushline/routes.py
Lines 220 to 230 in 71140c3
Describe the solution you'd like
We are catching the same errors in two places. There is never a time we'd want to try encrypting and get a
None
back. This function should just raise an exception.The text was updated successfully, but these errors were encountered: