{"action":"closed","issue":{"url":"https://api.github.com/repos/nodeschool/discussions/issues/927","labels_url":"https://api.github.com/repos/nodeschool/discussions/issues/927/labels{/name}","comments_url":"https://api.github.com/repos/nodeschool/discussions/issues/927/comments","events_url":"https://api.github.com/repos/nodeschool/discussions/issues/927/events","html_url":"https://github.com/nodeschool/discussions/issues/927","id":57370548,"number":927,"title":"Make it Modular Lesson Question about errors","user":{"login":"emilabraham","id":1449809,"avatar_url":"https://avatars.githubusercontent.com/u/1449809?v=3","gravatar_id":"","url":"https://api.github.com/users/emilabraham","html_url":"https://github.com/emilabraham","followers_url":"https://api.github.com/users/emilabraham/followers","following_url":"https://api.github.com/users/emilabraham/following{/other_user}","gists_url":"https://api.github.com/users/emilabraham/gists{/gist_id}","starred_url":"https://api.github.com/users/emilabraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilabraham/subscriptions","organizations_url":"https://api.github.com/users/emilabraham/orgs","repos_url":"https://api.github.com/users/emilabraham/repos","events_url":"https://api.github.com/users/emilabraham/events{/privacy}","received_events_url":"https://api.github.com/users/emilabraham/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodeschool/discussions/labels/learnyounode","name":"learnyounode","color":"F0A028"}],"state":"closed","locked":false,"assignee":{"login":"notmatt","id":92480,"avatar_url":"https://avatars.githubusercontent.com/u/92480?v=3","gravatar_id":"","url":"https://api.github.com/users/notmatt","html_url":"https://github.com/notmatt","followers_url":"https://api.github.com/users/notmatt/followers","following_url":"https://api.github.com/users/notmatt/following{/other_user}","gists_url":"https://api.github.com/users/notmatt/gists{/gist_id}","starred_url":"https://api.github.com/users/notmatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notmatt/subscriptions","organizations_url":"https://api.github.com/users/notmatt/orgs","repos_url":"https://api.github.com/users/notmatt/repos","events_url":"https://api.github.com/users/notmatt/events{/privacy}","received_events_url":"https://api.github.com/users/notmatt/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-02-11T20:13:35Z","updated_at":"2015-02-12T14:36:52Z","closed_at":"2015-02-12T14:36:52Z","body":"I finished Lesson 6 about making things modular. I was curious about why we ```return``` the callback function when we get an error? Instead of just calling the callback function with error as a non-null value?\r\n\r\nIn the same vein, why do we ```return``` the console.error when we find an error? Instead of just calling console.error?"}}