ArgLab / ArgLab_writing_observer

Writing Observer and Learning Observer: A system for monitoring learning process data, with an initial focus on writing process data from Google Docs.
GNU Affero General Public License v3.0
3 stars 2 forks source link

Fix Google Roster Data Uninformative Error. #15

Open DrLynch opened 3 years ago

DrLynch commented 3 years ago

When currently running if you set it to draw data from a Google API and fails to do so we simply get an unknown error. The error is triggered on the client side by learning_observer/static/webapp.js and on the server side by learning_observer/rosters.py

While we can get around this by setting the listing to All as a source in the file we need the Google error to be something more informative than simply "Unknown Error" and we need it to be non-blocking so that the user can do something about it rather than have a stuck browser.

TODO: Go over the two code pieces and identify a potential solution to throwing a more informative error and then kicking to a more useful behavior.