-
Notifications
You must be signed in to change notification settings - Fork 4
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
Elegant logging using the logging module #59
Comments
Exactly. Nice job! |
note: whereas logging of setup-errors (eg import failed or so) is fine, we should better not use the logging system to provide users with login-procedure (i.e. Instead, we should think about changing the communicator API with error feedback methods |
Yes, just use the communicator for expected errors, and use the logging module for more detail on what's happening. |
Browser now handles errorcode 211 (unknown institution) and I also updated the testsuite and added a test clause for rc 211 We still have to look into: - what are all the valid institutions?? - error messages should be communicated to the user via the communicator system (as discussed in issue #59) Usage examples: kotnetcli # default = kuleuven kotnetcli --institution=kuleuven-campusnet kotnetcli_test -r kotnetcli_test -r --timeout=0.5 --institution=kuleuven-campusnet
Done #106 |
Debug stuff like
ik wil bellen blazen
should be elegantly logged using the python logging module.We will work on this when kotnetcli 2.0.0 is released.
The text was updated successfully, but these errors were encountered: