Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit cd76764

Browse files
committed
Additional logging and build fix for Docker 7 issues
1 parent 946fd86 commit cd76764

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ install_dependency: &install_dependency
99
sudo apt install jq
1010
sudo apt install python3-pip
1111
sudo pip3 install awscli --upgrade
12+
sudo pip3 install docker==6.1.3
1213
sudo pip3 install docker-compose
1314
install_deploysuite: &install_deploysuite
1415
name: Installation of install_deploysuite.

utils/errors.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
const _ = require('lodash');
1414
const constants = require('../constants');
1515
const notification = require('./notification');
16+
const logger = require ('./logger');
1617

1718
// the error class wrapper
1819
class ProcessorError extends Error {
@@ -49,6 +50,7 @@ errors.handleGitHubError = function handleGitHubError(err, message, copilotHandl
4950
resMsg,
5051
'github'
5152
);
53+
logger.error(`Github error thrown: ${JSON.stringify(apiError)}`);
5254
return apiError;
5355
};
5456

@@ -74,6 +76,7 @@ errors.handleGitLabError = function handleGitLabError(err, message, copilotHandl
7476
resMsg,
7577
'gitlab'
7678
);
79+
logger.error(`Gitlab error thrown: ${JSON.stringify(apiError)}`);
7780
return apiError;
7881
};
7982

@@ -94,6 +97,7 @@ errors.convertTopcoderApiError = function convertTopcoderApiError(err, message)
9497
resMsg,
9598
'topcoder'
9699
);
100+
logger.error(`Topcoder error thrown: ${JSON.stringify(apiError)}`);
97101
return apiError;
98102
};
99103

@@ -109,6 +113,7 @@ errors.internalDependencyError = function internalDependencyError(message) {
109113
resMsg,
110114
'processor'
111115
);
116+
logger.error(`Internal API error thrown: ${JSON.stringify(apiError)}`);
112117
return apiError;
113118
};
114119

0 commit comments

Comments
 (0)