Closed josefhandl closed 4 weeks ago
Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct.
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
@yuvipanda I tried catching up with differences of log.error and log.exception, but I've not come to a conclusion if 0f2555d was what you wanted - could you review this again?
I think either works, and given that the ultimate goal is to figure out better error handling, I'm just going to merge this.
Thanks for your patience @josefhandl and thanks for the ping, @consideRatio
When the Kubernetes API fails to list Kubernetes resources in the reflector (for example too strict permissions), no relevant error message appears in the logs, and the program fails. I'm adding a check to see if the call is successful. If not, an error with the API is printed, and an exception is thrown.
This is what the previous logs look like (
enable_user_namespaces = True
):...and this now: