-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
feat(worker): move exception handling from the worker #1734
feat(worker): move exception handling from the worker #1734
Conversation
kettanaito
commented
Sep 12, 2023
- Closes Move request error message from the worker to the main thread #1683
Hey, @thepassle 👋 I'm following up on our discussion in #1683 to remove the error handling from the worker. Could you give this change a try to see if it works as expected? Thanks. |
@@ -87,7 +87,6 @@ self.addEventListener('message', async function (event) { | |||
|
|||
self.addEventListener('fetch', function (event) { | |||
const { request } = event | |||
const accept = request.headers.get('accept') || '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused accept
variable.
Oh great, thanks! In which rc version is this? |
@thepassle, it's not released anywhere yet as I need to check some local tests. You can try it out from the PR directly. |
Tried this out locally, this seems to work fine for me :) LGTM 👍 |
Thank you! I will look into the tests that timeout locally for me for some reason and get this merged sometime this week. |