File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ function cleanNullKeys(obj) {
67
67
68
68
function removeIgnoredAttributes ( taskDef ) {
69
69
for ( var attribute of IGNORED_TASK_DEFINITION_ATTRIBUTES ) {
70
+ core . debug ( attribute )
70
71
if ( taskDef [ attribute ] ) {
71
72
core . warning ( `Ignoring property '${ attribute } ' in the task definition file. ` +
72
73
'This property is returned by the Amazon ECS DescribeTaskDefinition API and may be shown in the ECS console, ' +
@@ -140,9 +141,9 @@ async function run() {
140
141
try {
141
142
registerResponse = await ecs . registerTaskDefinition ( taskDefContents ) . promise ( ) ;
142
143
} catch ( error ) {
143
- core . setFailed ( "Failed to register task definition in ECS: " + error . message ) ;
144
144
core . debug ( "Task definition contents:" ) ;
145
145
core . debug ( JSON . stringify ( taskDefContents , undefined , 4 ) ) ;
146
+ core . setFailed ( "Failed to register task definition in ECS: " + error . message ) ;
146
147
throw ( error ) ;
147
148
}
148
149
const taskDefArn = registerResponse . taskDefinition . taskDefinitionArn ;
You can’t perform that action at this time.
0 commit comments