Skip to content

Commit de109aa

Browse files
author
Chris Moultrie
committed
Merge branch 'master' of github.com:steves/node-jira
2 parents 4f7893a + 613ad7f commit de109aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/jira.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ var JiraApi = exports.JiraApi = function(protocol, host, port, username, passwor
189189
return;
190190
}
191191

192+
if (body === undefined) {
193+
callback('Response body was undefined.');
194+
}
195+
192196
callback(null, JSON.parse(body));
193197

194198
});

0 commit comments

Comments
 (0)