Skip to content

Commit 5259c92

Browse files
swapnilmmanePavel910
authored andcommitted
fix: handle notification error during deployment on Apple M4
The deployment was successful, but the CLI displayed an error caused by the notifier. Since notification errors are non-critical and do not affect the deployment outcome, they are now caught and safely ignored.
1 parent abfb4ec commit 5259c92

File tree

1 file changed

+3
-0
lines changed
  • packages/cli-plugin-deploy-pulumi/utils

1 file changed

+3
-0
lines changed

packages/cli-plugin-deploy-pulumi/utils/notify.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@ module.exports = ({ message }) => {
1212
});
1313

1414
setTimeout(resolve, 100);
15+
}).catch(() => {
16+
// Suppress any unexpected promise rejections to ensure smooth user experience.
17+
// Notification errors are non-critical and can be safely ignored.
1518
});
1619
};

0 commit comments

Comments
 (0)