Is there a way to get better exceptions? I have an...
# dotnet
w
Is there a way to get better exceptions? I have an exception now that states that a key doesn't exists in a stack
System.Collections.Generic.KeyNotFoundException: Required output 'Pulumi.Input`1[System.String]' does not exist on stack '<stack name>'
it is super hard to debug this when the stacktrace is only referring to pulumi code and it doesn't say what key that is missing. The code also works when deploying to one environment, but fails for another. The config file should be close to identical...
one thing that made it harder to debug was a faulty error message: https://github.com/pulumi/pulumi/issues/5733