{"action":"created","issue":{"url":"https://api.github.com/repos/bpampuch/pdfmake/issues/826","repository_url":"https://api.github.com/repos/bpampuch/pdfmake","labels_url":"https://api.github.com/repos/bpampuch/pdfmake/issues/826/labels{/name}","comments_url":"https://api.github.com/repos/bpampuch/pdfmake/issues/826/comments","events_url":"https://api.github.com/repos/bpampuch/pdfmake/issues/826/events","html_url":"https://github.com/bpampuch/pdfmake/issues/826","id":200725713,"number":826,"title":"How to catch error ?","user":{"login":"nitinsinghit","id":545884,"avatar_url":"https://avatars.githubusercontent.com/u/545884?v=3","gravatar_id":"","url":"https://api.github.com/users/nitinsinghit","html_url":"https://github.com/nitinsinghit","followers_url":"https://api.github.com/users/nitinsinghit/followers","following_url":"https://api.github.com/users/nitinsinghit/following{/other_user}","gists_url":"https://api.github.com/users/nitinsinghit/gists{/gist_id}","starred_url":"https://api.github.com/users/nitinsinghit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitinsinghit/subscriptions","organizations_url":"https://api.github.com/users/nitinsinghit/orgs","repos_url":"https://api.github.com/users/nitinsinghit/repos","events_url":"https://api.github.com/users/nitinsinghit/events{/privacy}","received_events_url":"https://api.github.com/users/nitinsinghit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-13T20:40:50Z","updated_at":"2017-01-14T16:00:21Z","closed_at":null,"body":"How to catch error if pdfmake fails  while createPdf or during download? I know during download we can pass callback to check if pdf if downloaded but not sure how to differ it from sucess and error.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/bpampuch/pdfmake/issues/comments/272632943","html_url":"https://github.com/bpampuch/pdfmake/issues/826#issuecomment-272632943","issue_url":"https://api.github.com/repos/bpampuch/pdfmake/issues/826","id":272632943,"user":{"login":"liborm85","id":1298652,"avatar_url":"https://avatars.githubusercontent.com/u/1298652?v=3","gravatar_id":"","url":"https://api.github.com/users/liborm85","html_url":"https://github.com/liborm85","followers_url":"https://api.github.com/users/liborm85/followers","following_url":"https://api.github.com/users/liborm85/following{/other_user}","gists_url":"https://api.github.com/users/liborm85/gists{/gist_id}","starred_url":"https://api.github.com/users/liborm85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liborm85/subscriptions","organizations_url":"https://api.github.com/users/liborm85/orgs","repos_url":"https://api.github.com/users/liborm85/repos","events_url":"https://api.github.com/users/liborm85/events{/privacy}","received_events_url":"https://api.github.com/users/liborm85/received_events","type":"User","site_admin":false},"created_at":"2017-01-14T16:00:21Z","updated_at":"2017-01-14T16:00:21Z","body":"use try catch - http://www.w3schools.com/js/js_errors.asp"}}
{"actor":{"display_login":"liborm85"}}