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

Correct Error Handling to avoid panics and add more logging to template #1412

Merged
merged 1 commit into from
Sep 24, 2017

Conversation

diazjf
Copy link

@diazjf diazjf commented Sep 22, 2017

When a type error is found we return an empty object of the expected type (Example: return "" for string return type). Also adds logging to all errors caused by type and corrects all related logging for consistency.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 22, 2017
@k8s-reviewable
Copy link

This change is Reviewable

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Sep 22, 2017
When a type error is found we return an empty object of the expected
type(Example: return "" for string return type). Also makes adds logging
to all errors caused by type and corrects all related logging for consistency.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 43.612% when pulling 0c17825 on diazjf:empty-strings into 37bd14d on kubernetes:master.

@aledbf aledbf self-assigned this Sep 24, 2017
@aledbf
Copy link
Member

aledbf commented Sep 24, 2017

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 24, 2017
@aledbf
Copy link
Member

aledbf commented Sep 24, 2017

@diazjf thanks!

@aledbf aledbf merged commit 442a7aa into kubernetes:master Sep 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants