Use debug instead of console.* everywhere

No need to patch up console.* anymore

also removes supererror
This commit is contained in:
Girish Ramakrishnan
2020-08-02 11:43:18 -07:00
parent aa747cea85
commit 1b307632ab
16 changed files with 46 additions and 110 deletions

View File

@@ -55,7 +55,7 @@ function attachDockerRequest(req, res, next) {
// Force node to send out the headers, this is required for the /container/wait api to make the docker cli proceed
res.write(' ');
dockerResponse.on('error', function (error) { console.error('dockerResponse error:', error); });
dockerResponse.on('error', function (error) { debug('dockerResponse error:', error); });
dockerResponse.pipe(res, { end: true });
});