ARC.ts
ARC broadcaster was not extracting error details into description property, status into code property in all cases.
ARC.test.ts
updated to test broadcast error 460 property extraction.
Linked Issues / Tickets
Closes Feature Request #99
Testing Procedure
New test 'handles error 460' initially called live ARC service to obtain actual error response data format.
This was then captured as a static test with the live format hard wired.
Checklist:
[ x] I have performed a self-review of my own code
[ n/a] I have made corresponding changes to the documentation
[ x] My changes generate no new warnings
[ x] I have updated CHANGELOG.md with my changes
[ x] I have run npm run doc and npm run lint one final time before requesting a review
[ x] I have run npm version patch so that my changes will trigger a new version to be released when they are merged
Added optional more property as originally requested by @ty-everett to forward unparsed response.data object from underlying (ARC) broadcast service provider.
Description of Changes
ARC.ts ARC broadcaster was not extracting error details into description property, status into code property in all cases.
ARC.test.ts updated to test broadcast error 460 property extraction.
Linked Issues / Tickets
Closes Feature Request #99
Testing Procedure
New test 'handles error 460' initially called live ARC service to obtain actual error response data format. This was then captured as a static test with the live format hard wired.
Checklist:
CHANGELOG.md
with my changesnpm run doc
andnpm run lint
one final time before requesting a reviewnpm version patch
so that my changes will trigger a new version to be released when they are merged