What's the conventional way to bubble up errors fr...
# golang
g
What's the conventional way to bubble up errors from within an
ApplyT
? I noticed that the function can return an error...but it doesn't seem to have any effect. Are we supposed to call
panic(err)
within the interpolation function? And if so, is there a risk of that
panic
causing issues with the pulumi state or the infra state?
I asked in the new discussions 🙂 https://github.com/pulumi/pulumi/discussions/9069
g
Thanks for opening it up in Discussions! I'm going to ask our engineers for more details on the conventions they use, and one of us will post soon.
g
Sweet! TY pulumipus chill hoodie
👍 1