Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upIAVM Mapper interface: fixup error-handling #42
Comments
ryran
added
the
bug
label
Nov 18, 2016
ryran
self-assigned this
Nov 18, 2016
ryran
closed this
in
3f41ce9
Nov 18, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
ryran
Nov 18, 2016
Owner
Done.
$ rhsecapi --q-iava 2016-B-0164 -l debug
[INFO ] rhsda: Getting 'https://access.redhat.com/labs/iavmmapper/api/iava/' ...
[DEBUG ] rhsda: Return status: '200'; Content-Type: 'application/json; charset=utf-8'
[DEBUG ] rhsda: IAVM Mapper app main index contains '2016-B-0164'
[INFO ] rhsda: Getting 'https://access.redhat.com/labs/iavmmapper/api/iava/2016-B-0164' ...
[INFO ] rhsda: 500 Server Error: Internal Server Error for url: https://access.redhat.com/labs/iavmmapper/api/iava/2016-B-0164
[ERROR ] rhsda: IAVM Mapper app doesn't have entry for '2016-B-0164'
For help, open an issue at http://github.com/ryran/rhsecapi
Or post a comment at https://access.redhat.com/discussions/2713931
|
Done.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ryran commentedNov 18, 2016
A good one works:
A fake one isn't in the index so gets expected output:
What about if an IAVA that is known by the global index but doesn't actually exist for some reason?
Yeah so my error-handling didn't account for that. Will do.