{"action":"closed","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/9507","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/9507/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/9507/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/9507/events","html_url":"https://github.com/JuliaLang/julia/issues/9507","id":53150012,"number":9507,"title":"Crash when calling `jl_load` with file with syntax errors.","user":{"login":"twadleigh","id":1570926,"avatar_url":"https://avatars.githubusercontent.com/u/1570926?v=3","gravatar_id":"","url":"https://api.github.com/users/twadleigh","html_url":"https://github.com/twadleigh","followers_url":"https://api.github.com/users/twadleigh/followers","following_url":"https://api.github.com/users/twadleigh/following{/other_user}","gists_url":"https://api.github.com/users/twadleigh/gists{/gist_id}","starred_url":"https://api.github.com/users/twadleigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twadleigh/subscriptions","organizations_url":"https://api.github.com/users/twadleigh/orgs","repos_url":"https://api.github.com/users/twadleigh/repos","events_url":"https://api.github.com/users/twadleigh/events{/privacy}","received_events_url":"https://api.github.com/users/twadleigh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/embedding","name":"embedding","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2014-12-30T21:48:33Z","updated_at":"2015-01-02T19:26:34Z","closed_at":"2015-01-02T19:26:34Z","body":"I am embedding julia. My embedding seems to work fine as long as I call `jl_load` on a syntactically correct file. However, if the file has syntax errors, it brings the entire process down, and I see this output:\r\n\r\n`fatal: error thrown and no exception handler available.`\r\n\r\nwith no opportunity to check `jl_exception_occurred`. Is this a bug? Or is there a way to register an exception handler when embedding, in which case it would just be a deficiency in the docs?"}}