I suggest you ...

Cannot catch errors in Firefox

I haven't checked all browsers, but in FF, when I am using erroception, the following alert will not get triggered, but it will in Chrome.

try {
thisfunctiondoesnotexist();
} catch(err) {
// handle this error myself
alert('the function does not exist');
}

The code in the catch block should definitely be executed, but on FF it is not.

1 vote
Vote
Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
You have left! (?) (thinking…)
Dustin shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base