Hi,

I have a function which contains the following:

function test() {
try {
  some stuff
} catch(e) {
  throw new Error("I want to report this via standard error catcher");
} finally {
  return safe_value;
}
}

However, my error doesn't get thrown as long as the "finally"
statement contains "return". Is this correct behavior? Is there any
way to overcome this?


Thanks,
Ondrej Zara

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to