-
Notifications
You must be signed in to change notification settings - Fork 10.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
Blazor JSInterop failure/exception not reported in Blazor app #38502
Comments
Hello, thanks for contacting us. I'm not sure I follow. How does this differ from #38501. What's the difference between |
Hi @MarkStega. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
internalClick2 does not have a try/catch block and the exception is 'silent' which makes it almost impossible to find in a real application. I commented in #38501 that "OK, the wrong call is being used, but why does it take a full minute for the exception?" |
Just to confirm, you're saying that the exception isn't thrown even after a full minute, and the circuit remains active? |
Yes, the exception is not thrown and the circuit remains active. The code in click2 is identical to the code in click1 so I am reasonably certain that the same exception occurs (it did in my full blown app). |
See #38501 This was fixed when tested with DN7.preview 7 |
Describe the bug
I have a working application that is experiencing a JSInterop exception. That exception is not surfaced making it very difficult to find the problem in the app.
To Reproduce
This repo is being used to report 2 separate issues. Use button #2, see the same developer exception as in #38501, but wait out the minute for the exception to be thrown and note that no exception is evident.
The repo is https://github.com/OptimiumHealth/BlazorJSInteropApp
Exceptions (if any)
None, but I want one!
Further technical details
dotnet --info
:The text was updated successfully, but these errors were encountered: