So.. using automation with kuberenetes, I'm gettin...
# automation-api
b
So.. using automation with kuberenetes, I'm getting tons of "unhandled rejections" every time it fails.. should I be wrapping my pulumi program resource operations in try/catch?
🙌 1
example of one of hundreds of messages:
Copy code
unhandled rejection: CONTEXT(1636): transferDeps(resource:testsec[kubernetes:<http://spv.no/v2beta1:AzureKeyVaultSecret|spv.no/v2beta1:AzureKeyVaultSecret>], status, undefined)
STACK_TRACE:
Error
    at Object.debuggablePromise (c:\<path>\node_modules\@pulumi\pulumi\runtime\debuggable.js:69:75)
    at Object.transferProperties (c:\<path>\node_modules\@pulumi\pulumi\runtime\rpc.js:89:78)
    at c:\<path>\node_modules\@pulumi\pulumi\runtime\resource.js:389:33
    at Generator.next (<anonymous>)
    at c:\<path>\node_modules\@pulumi\pulumi\runtime\resource.js:21:71
    at new Promise (<anonymous>)
    at __awaiter (c:\<path>\node_modules\@pulumi\pulumi\runtime\resource.js:17:12)
    at prepareResource (c:\<path>\node_modules\@pulumi\pulumi\runtime\resource.js:331:12)
    at Object.registerResource (c:\<path>\node_modules\@pulumi\pulumi\runtime\resource.js:213:24)
    at new Resource (c:\<path>\node_modules\@pulumi\pulumi\resource.js:215:24)
w
There have been some fixes to address promise leaks recently - cc @lemon-agent-27707 who may be able to help.
b
using 2.24.1 if it helps.. can technically try 3.0.0-beta1 if you think that might be better
l
Can you post a full stack trace and the program that is causing it?