Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add key info for RefBackendError for easier debugging #439

Merged
merged 2 commits into from Jan 3, 2020
Merged

Conversation

uberspot
Copy link
Contributor

@uberspot uberspot commented Dec 20, 2019

Related to issue #430
Slightly hard to generalize and add more information (like current filename processed for example)
because references are set/read in multiple places in cli.py as well in various use cases.
It might be feasible to add nicer exception messages there too with the same approach.

New message looks like this:

no backend for ref type: gpsafasg
  for key ?{gpsafasg:targets/minikube-mysql/mysql/password||randomstr|base64}
Compile error: failed to compile target: minikube-mysql

Which is slightly more helpful but not perfect.

kapitan/cli.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants