-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quoteCombine not returning error as expected #150
Comments
Hey @ytsruh, thanks for reporting this. Looks like Yahoo's API silently skips missing symbols. I'll add a check at the end of the request to look for any symbols we asked for and didn't get back, and Might only get to this next week but watch this space :D |
This is fixed in Also want to look at:
@ytsruh thanks again for reporting. |
Honestly.....thank you. I was convinced it was something I was/wasn't doing. Will keep an eye on this and test when released to report back. Appreciate the quick response as well! Happy to help if/however I can |
# [1.11.0](v1.10.4...v1.11.0) (2021-06-01) ### Bug Fixes * **deps:** update dependency ajv to ^8.1.0 ([1769641](1769641)) * **quoteCombine:** resolve `undefined` for missing symbols ([#150](#150)) ([f8c25e3](f8c25e3)) * **testing:** specify jest.js path, not bin ([#170](#170)) ([6772c8e](6772c8e)) ### Features * **options:** accept `date` option ([#186](#186)) ([11b8a72](11b8a72)) * add (friendly) warning when used in the browser ([3c4c5a0](3c4c5a0)), closes [#153](#153) * add insights module ([#169](#169)) ([4603232](4603232)) * **concurrency:** ability to limit max simultaneous requests ([#76](#76)) ([3424d44](3424d44)) * **modules:** build (true) esm, (interop) cjs modules; tests/readme ([#144](#144)) ([2182f6c](2182f6c)) * **setGlobalConfig:** add setGlobalConfig function ([#133](#133)) ([43ebaa4](43ebaa4))
Sorry, this has taken me a long time to look at. However, pleased to say this seemed to do the trick! I didnt have any issues when a symbol is 'not found'. So thanks for the fix! |
Hey @ytsruh, no worries at all, and thanks for reporting back! May you be blessed with ever resolving symbols, always ;) |
Bug Report
Describe the bug
Running the quoteCombine method within a loop I am able to return data as expected until I reach a symbol that cannot be found. Instead of returning an Error that can be caught in try/catch. Nothing appears to be returned. Typically my list of symbols is kept upto date but I'm unable to guarantee this is 100% in line with what Yahoo has
Minimal Reproduction
Calling await getData causes my server to 'hang' and eventually time out
`const getData = async (array) => {
Environment
Browser or Node: Node
Node version (if applicable): 14 & 15
Npm version: 7.4
Browser verion (if applicable): N/A
Library version (e.g.
1.10.1
):Additional Context
The text was updated successfully, but these errors were encountered: