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 better error reporting for Grouper interactions. #16

Open
ghost opened this issue Feb 4, 2020 · 1 comment
Open

Add better error reporting for Grouper interactions. #16

ghost opened this issue Feb 4, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 4, 2020

Something mentioned to me in Slack by Mark Fischer:

"Just a note from debugging my own interactions with grouper, tossing a try: except block around the json decoding, and then printing the raw response from grouper in the exception handling helped a lot in debugging."

This could be used anywhere an rsp.json() call is being made to parse a Grouper REST response, e.g. in grouper_query.py and in the synchronize() method in delta.py.

Benefit would be more visibility for Mark's team over in UITS if/when Grouper barfs on a request, which has happened occasionally.

@zensense
Copy link
Contributor

I second this, the error reporting in the PG scripts sucks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant