New issue
Advanced search Search tips

Issue 616947 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Swallowing exceptions when running callbacks to extension functions

Project Member Reported by asargent@chromium.org, Jun 2 2016

Issue description

In send_request.js, we do some work to find the relevant callback to dispatch to, run it, and then do some work to cleanup state, so we wrap the call to the callback in a try/catch.

Ideally we would somehow allow developers to catch these exceptions with their global error handler instead of being forced to remember to wrap every callback with a try/catch. Perhaps we can just re-throw any exceptions at the end of our cleanup work. 

 
Project Member

Comment 1 by sheriffbot@chromium.org, Jun 5 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment