https://pulumi.com logo
#golang
Title
# golang
b

bright-sandwich-93783

06/29/2021, 11:56 PM
one solution that came to mind is some kind of error lib that wraps the Pulumi errors (which don't include line numbers or anything useful besides the AWS API error message) in another error that contains line info, etc. But I would kind of expect Pulumi errors to have that?
b

brash-match-91530

06/30/2021, 1:59 PM
That's exactly what we do, we have an internal error lib that wraps and enriches pulumi errors so we can more easily track them. There's also a verbosity flag you can add to the
up/preview
b

bright-sandwich-93783

06/30/2021, 9:00 PM
the verbosity flag didn't seem to give me better error context, i.e stacktrace/line number/resource name
but thanks for the response. What properties do you enrich your errors with specifically?
5 Views