Skip to content

Commit

Permalink
fix(clouddriver): Return a call stack for better error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
wattdave committed Nov 29, 2021
1 parent 96755fe commit 3286880
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,9 @@ class ClusterCachingAgent implements CachingAgent, OnDemandAgent, AccountAware,
cacheTargetGroups(data, targetGroups)
cacheLaunchTemplate(data, launchTemplates)
} catch (Exception ex) {
log.warn("Failed to cache ${asg.autoScalingGroupName} in ${account.name}/${region}", ex)
StringWriter sw = new StringWriter()
ex.printStackTrace(sw)
log.warn("Failed to cache ${asg.autoScalingGroupName} in ${account.name}/${region}: ${sw.toString()}", ex)
}
}
}
Expand Down

0 comments on commit 3286880

Please sign in to comment.