crossplane / upjet

A code generation framework and runtime for Crossplane providers
Apache License 2.0
319 stars 89 forks source link

Add error logging to extractor #427

Open teabot opened 3 months ago

teabot commented 3 months ago

What problem are you facing?

When selectors fail to resolve values correctly (see crossplane-contrib/provider-upjet-aws#118), it is hard to diagnose the probable issue.

How could Upjet help solve your problem?

It would be beneficial to add some additional logging in extractor.go to log errors, which are currently swallowed silently: