-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[@azure/search-documents] span.context is not a function #17303
Comments
Thanks for the report @Ludovic71! @maorleger Could this be because 11.2.0 of the search package is depending on 1.0.0-preview.11 of core-tracing? We ensured all of the other packages are on atleast 1.0.0-preview.12 or above. |
I'm getting a similar issue with 2021-08-27T02:48:35.237760198Z (node:24) UnhandledPromiseRejectionWarning: TypeError: messageSpan.spanContext is not a function
2021-08-27T02:48:35.237771999Z at instrumentMessage (/app/node_modules/@azure/service-bus/dist/index.js:1873:74)
2021-08-27T02:48:35.237776099Z at ServiceBusMessageBatchImpl.tryAddMessage (/app/node_modules/@azure/service-bus/dist/index.js:8617:42)
2021-08-27T02:48:35.237779399Z at ServiceBusSenderImpl.sendMessages (/app/node_modules/@azure/service-bus/dist/index.js:8988:28) |
@harveyconnor Can you please log a separate issue for the Service Bus package? Please include the version of the package you are using and a code snippet that we can use to replicate the issue |
Hi @ramya-rao-a thanks for the reply! |
It does appear to be the case with 11.2.0 - it still depends on core-tracing preview.11 and core-http 1.2.6 I will work on getting a release out there as soon as possible. |
@Ludovic71 |
Hi @Ludovic71. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text “ |
Hi @Ludovic71, since you haven’t asked that we “ |
Describe the bug
Will throw an exception as follows:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should be able to get the searchResults object from searchClient.search() without any exception
Additional context
Unblocking solution: By using dev version
@azure/search-documents: 1.3.0-alpha.20210816.1
the issue is gone !The text was updated successfully, but these errors were encountered: