{"action":"opened","issue":{"url":"https://api.github.com/repos/tomkooij/modelleertaal/issues/9","labels_url":"https://api.github.com/repos/tomkooij/modelleertaal/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/tomkooij/modelleertaal/issues/9/comments","events_url":"https://api.github.com/repos/tomkooij/modelleertaal/issues/9/events","html_url":"https://github.com/tomkooij/modelleertaal/issues/9","id":79468503,"number":9,"title":"v8 optimising compiler bail out on try {} catch {}","user":{"login":"tomkooij","id":6316468,"avatar_url":"https://avatars.githubusercontent.com/u/6316468?v=3","gravatar_id":"","url":"https://api.github.com/users/tomkooij","html_url":"https://github.com/tomkooij","followers_url":"https://api.github.com/users/tomkooij/followers","following_url":"https://api.github.com/users/tomkooij/following{/other_user}","gists_url":"https://api.github.com/users/tomkooij/gists{/gist_id}","starred_url":"https://api.github.com/users/tomkooij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomkooij/subscriptions","organizations_url":"https://api.github.com/users/tomkooij/orgs","repos_url":"https://api.github.com/users/tomkooij/repos","events_url":"https://api.github.com/users/tomkooij/events{/privacy}","received_events_url":"https://api.github.com/users/tomkooij/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-22T14:08:28Z","updated_at":"2015-05-22T14:08:28Z","closed_at":null,"body":"The v8 optimising compiler bails out on try {} catch {}. Out model runs in try {} catch {}.\r\n\r\nsolution:\r\n - wrap model in function\r\n - call function in try {} block.\r\n\r\n```\r\nfunction do_model() {}\r\n\r\ntry {\r\n    do_model()\r\n} catch (e) {\r\n   ....\r\n}\r\n```"}}