mitodl / ccxcon

CCXCon API
GNU Affero General Public License v3.0
7 stars 0 forks source link

Catch uncaught error & return edx response as json #152

Closed justinabrahms closed 8 years ago

justinabrahms commented 8 years ago

What are the relevant tickets?

Refs https://github.com/mitodl/teachersportal/issues/440

What's this PR do?

Returns edx's json to teachers portal, so we know the ccx id that was created.

Where should the reviewer start?

Last line of views.py

How should this be manually tested?

Use the create_ccx command in the repo root, if you'd like.

Any background context you want to provide?

Also cleaned up some error reporting to make debugging easier.

Screenshots (if appropriate)

What GIF best describes this PR or how it makes you feel?

noisecapella commented 8 years ago

Feel free to squash and merge after addressing the two comments, if you agree with them :+1: