Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
Always log HTTP fail
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Sep 6, 2016
1 parent f41fde2 commit 45ff322
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ export function getURL(aUrl: string): Promise<string> {
}
});
}).on('error', e => {
logger.error('HTTP GET failed: ' + e.toString());
reject(e);
});
});
Expand Down

0 comments on commit 45ff322

Please sign in to comment.