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
Feature Request - More Error Reporting for Error "Object Not Found Matching Id" #4209
Describe the solution you'd like
In JavascriptObjectRespitory there's an error thrown that says "Object Not Found Matching Id: objectId". We get this error on our Datadog logs, but have no idea what .net app that it came from or whom to contact regarding the issue. Is there any way to add additional context to the error? It would appear the user of this library is unregistering an object before it should be unregistered.
Is there anything else we can add? Basically have people running our website inside their .net app, but we have no idea what .net app is running it. So we have zero traceability on how to prevent users from experiencing an error.
Providing details of the host application may have unforeseen security implications. For now adding method name and param count should help developers track errors.
I'd suggest trying to obtain a call stack for the error from your logging tool.
Activity
amaitland commentedon Aug 16, 2022
You could easily add the method name and param count to the error message. Your welcome to submit a
Pull Request.indeediansbrett commentedon Aug 16, 2022
Is there anything else we can add? Basically have people running our website inside their .net app, but we have no idea what .net app is running it. So we have zero traceability on how to prevent users from experiencing an error.
amaitland commentedon Aug 21, 2022
Providing details of the host application may have unforeseen security implications. For now adding method name and param count should help developers track errors.
I'd suggest trying to obtain a call stack for the error from your logging tool.
Core - Improve JavascriptObjectRepository.TryCallMethod Object Not Fo…