Log non resource blocking errors
parent
bb7553d711
commit
a6d3837ba2
|
|
@ -1353,10 +1353,10 @@ class AWSBuildEnvironment {
|
||||||
}
|
}
|
||||||
static handleStackCreationFailure(error, CF, taskDefStackName, taskDefCloudFormation, secrets) {
|
static handleStackCreationFailure(error, CF, taskDefStackName, taskDefCloudFormation, secrets) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const events = (yield CF.describeStackEvents({ StackName: taskDefStackName }).promise()).StackEvents;
|
|
||||||
const resources = (yield CF.describeStackResources({ StackName: taskDefStackName }).promise()).StackResources;
|
|
||||||
core.info(JSON.stringify(secrets, undefined, 4));
|
core.info(JSON.stringify(secrets, undefined, 4));
|
||||||
core.info(taskDefCloudFormation);
|
core.info(taskDefCloudFormation);
|
||||||
|
const events = (yield CF.describeStackEvents({ StackName: taskDefStackName }).promise()).StackEvents;
|
||||||
|
const resources = (yield CF.describeStackResources({ StackName: taskDefStackName }).promise()).StackResources;
|
||||||
core.info(JSON.stringify(events, undefined, 4));
|
core.info(JSON.stringify(events, undefined, 4));
|
||||||
core.info(JSON.stringify(resources, undefined, 4));
|
core.info(JSON.stringify(resources, undefined, 4));
|
||||||
core.error(error);
|
core.error(error);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -210,10 +210,10 @@ class AWSBuildEnvironment {
|
||||||
taskDefCloudFormation: string,
|
taskDefCloudFormation: string,
|
||||||
secrets: RemoteBuilderSecret[],
|
secrets: RemoteBuilderSecret[],
|
||||||
) {
|
) {
|
||||||
const events = (await CF.describeStackEvents({ StackName: taskDefStackName }).promise()).StackEvents;
|
|
||||||
const resources = (await CF.describeStackResources({ StackName: taskDefStackName }).promise()).StackResources;
|
|
||||||
core.info(JSON.stringify(secrets, undefined, 4));
|
core.info(JSON.stringify(secrets, undefined, 4));
|
||||||
core.info(taskDefCloudFormation);
|
core.info(taskDefCloudFormation);
|
||||||
|
const events = (await CF.describeStackEvents({ StackName: taskDefStackName }).promise()).StackEvents;
|
||||||
|
const resources = (await CF.describeStackResources({ StackName: taskDefStackName }).promise()).StackResources;
|
||||||
core.info(JSON.stringify(events, undefined, 4));
|
core.info(JSON.stringify(events, undefined, 4));
|
||||||
core.info(JSON.stringify(resources, undefined, 4));
|
core.info(JSON.stringify(resources, undefined, 4));
|
||||||
core.error(error);
|
core.error(error);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue