-
Notifications
You must be signed in to change notification settings - Fork 27
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
Include tracebacks in the Result when catching outer-level problems #224
Comments
rcritten
added a commit
to rcritten/freeipa-healthcheck
that referenced
this issue
Sep 3, 2021
The traceback will be both in the debug output and within the Result value for the call so we have half a chance to fix what is broken. freeipa#224 Signed-off-by: Rob Crittenden <rcritten@redhat.com>
rcritten
added a commit
to rcritten/freeipa-healthcheck
that referenced
this issue
Sep 17, 2021
The traceback will be both in the debug output and within the Result value for the call so we have half a chance to fix what is broken. freeipa#224 Signed-off-by: Rob Crittenden <rcritten@redhat.com>
rcritten
added a commit
that referenced
this issue
Feb 4, 2022
The traceback will be both in the debug output and within the Result value for the call so we have half a chance to fix what is broken. #224 Signed-off-by: Rob Crittenden <rcritten@redhat.com>
joeldavidparker
added a commit
to joeldavidparker/freeipa-healthcheck
that referenced
this issue
Jun 24, 2022
The traceback will be both in the debug output and within the Result value for the call so we have half a chance to fix what is broken. freeipa/freeipa-healthcheck#224 Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Healthcheck has a fail-safe so that if any of the checks raise an exception it is caught and logged so that one can be sure that all checks have run, even if not successfully. The problem is that the traceback is suppressed and often the exception message isn't very useful. Log the traceback both in debug mode and in the result itself to make tracking down the root cause a lot easier.
The text was updated successfully, but these errors were encountered: