Log non resource blocking errors

pull/263/head
Frostebite 2021-05-22 19:32:23 +00:00 committed by GitHub
parent bb7553d711
commit a6d3837ba2
3 changed files with 498 additions and 498 deletions

4
dist/index.js vendored
View File

@ -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);

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -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);