Skip to content

Commit

Permalink
Merge pull request #12 from beaglesecurity/bugfix-error-response
Browse files Browse the repository at this point in the history
bugfix of error response
  • Loading branch information
anees264 authored Dec 26, 2022
2 parents 8bb4c53 + 10e0778 commit 70efa16
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ try {
console.log(body);
}
else {
console.log("response.statusCode: " + response.statusCode);
console.log("response.statusText: " + response.statusText);
console.log(body);
}
});
} catch (error) {
Expand Down

0 comments on commit 70efa16

Please sign in to comment.