{"action":"created","issue":{"url":"https://api.github.com/repos/node-red/node-red-nodes/issues/185","repository_url":"https://api.github.com/repos/node-red/node-red-nodes","labels_url":"https://api.github.com/repos/node-red/node-red-nodes/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/node-red/node-red-nodes/issues/185/comments","events_url":"https://api.github.com/repos/node-red/node-red-nodes/issues/185/events","html_url":"https://github.com/node-red/node-red-nodes/pull/185","id":138465438,"number":185,"title":"SQL error with HTTP request","user":{"login":"paulRenault","id":2323359,"avatar_url":"https://avatars.githubusercontent.com/u/2323359?v=3","gravatar_id":"","url":"https://api.github.com/users/paulRenault","html_url":"https://github.com/paulRenault","followers_url":"https://api.github.com/users/paulRenault/followers","following_url":"https://api.github.com/users/paulRenault/following{/other_user}","gists_url":"https://api.github.com/users/paulRenault/gists{/gist_id}","starred_url":"https://api.github.com/users/paulRenault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulRenault/subscriptions","organizations_url":"https://api.github.com/users/paulRenault/orgs","repos_url":"https://api.github.com/users/paulRenault/repos","events_url":"https://api.github.com/users/paulRenault/events{/privacy}","received_events_url":"https://api.github.com/users/paulRenault/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-04T12:39:45Z","updated_at":"2016-03-04T12:55:25Z","closed_at":"2016-03-04T12:42:32Z","pull_request":{"url":"https://api.github.com/repos/node-red/node-red-nodes/pulls/185","html_url":"https://github.com/node-red/node-red-nodes/pull/185","diff_url":"https://github.com/node-red/node-red-nodes/pull/185.diff","patch_url":"https://github.com/node-red/node-red-nodes/pull/185.patch"},"body":"In the case the SQL node is in a flow with http in and out, the flow end\r\nin case of error but the http client is waiting for an answer. So we\r\nmust not endded the flow but send back the error."},"comment":{"url":"https://api.github.com/repos/node-red/node-red-nodes/issues/comments/192270472","html_url":"https://github.com/node-red/node-red-nodes/pull/185#issuecomment-192270472","issue_url":"https://api.github.com/repos/node-red/node-red-nodes/issues/185","id":192270472,"user":{"login":"knolleary","id":51083,"avatar_url":"https://avatars.githubusercontent.com/u/51083?v=3","gravatar_id":"","url":"https://api.github.com/users/knolleary","html_url":"https://github.com/knolleary","followers_url":"https://api.github.com/users/knolleary/followers","following_url":"https://api.github.com/users/knolleary/following{/other_user}","gists_url":"https://api.github.com/users/knolleary/gists{/gist_id}","starred_url":"https://api.github.com/users/knolleary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knolleary/subscriptions","organizations_url":"https://api.github.com/users/knolleary/orgs","repos_url":"https://api.github.com/users/knolleary/repos","events_url":"https://api.github.com/users/knolleary/events{/privacy}","received_events_url":"https://api.github.com/users/knolleary/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T12:55:25Z","updated_at":"2016-03-04T12:55:25Z","body":"The key thing is the message object that gets passed through. The Catch node is given the message from the sql node so it contains everything needed to respond to the originating http request."}}