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
{{ message }}
Repository navigation
COSE::KEY.cbor_decode raises NameError when unlisted error is raised and uri is not required #82
URI::InvalidURIError has been in COSE::KEY.cbor_decode's the rescue list since 00cbf5d, but nothing in the gem requires uri. Ruby checks rescue classes one by one, left to right, and stops at the first match. URI::InvalidURIError is last. So when the raised error matches none of the earlier classes, Ruby tries to resolve URI and fails:
Activity