File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ function cleanNullKeys(obj) {
6767
6868function removeIgnoredAttributes ( taskDef ) {
6969 for ( var attribute of IGNORED_TASK_DEFINITION_ATTRIBUTES ) {
70+ core . debug ( attribute )
7071 if ( taskDef [ attribute ] ) {
7172 core . warning ( `Ignoring property '${ attribute } ' in the task definition file. ` +
7273 '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() {
140141 try {
141142 registerResponse = await ecs . registerTaskDefinition ( taskDefContents ) . promise ( ) ;
142143 } catch ( error ) {
143- core . setFailed ( "Failed to register task definition in ECS: " + error . message ) ;
144144 core . debug ( "Task definition contents:" ) ;
145145 core . debug ( JSON . stringify ( taskDefContents , undefined , 4 ) ) ;
146+ core . setFailed ( "Failed to register task definition in ECS: " + error . message ) ;
146147 throw ( error ) ;
147148 }
148149 const taskDefArn = registerResponse . taskDefinition . taskDefinitionArn ;
You can’t perform that action at this time.
0 commit comments