We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 544d095 commit c1b3819Copy full SHA for c1b3819
src/cloudFormation.ts
@@ -73,9 +73,13 @@ async function getCloudFormationResources(
73
stackName: string,
74
awsConfiguration: AwsConfiguration,
75
) {
76
+ // temporary disable console.error because SAM framework outputs useless errors
77
+ const originalConsoleError = console.error;
78
+ console.error = function () {};
79
const { ListStackResourcesCommand } = await import(
80
'@aws-sdk/client-cloudformation'
81
);
82
+ console.error = originalConsoleError;
83
84
const cloudFormationClient: CloudFormationClient =
85
await getCloudFormationClient(awsConfiguration);
0 commit comments