Skip to content

Commit

Permalink
add a message for HTTP errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ibdknox committed Jan 9, 2017
1 parent b1896dc commit 4d8c216
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/databases/node/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class HttpDatabase extends Database {
httpRequest(options, (error, response, body) => {
if(error || !response) {
// @TODO: expose errors and other weirdness into Eve instead of just bailing here.
console.error(error || "ERROR: No response received from HTTP request");
return;
}
let scope = "http";
Expand Down

0 comments on commit 4d8c216

Please sign in to comment.