Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Conversation

wolever
Copy link

@wolever wolever commented Jun 14, 2016

Currently LTIException raised in response to OAuth errors don't include the original error. This patch includes the original error and maintains the stack trace to simplify debugging.

@pdpinch
Copy link
Member

pdpinch commented Aug 29, 2017

Sorry this has been sitting unattended for so long @wolever but it's failing PEP8 tests.

/home/travis/build/mitodl/pylti/pylti/common.py:310:47: E225 missing whitespace around operator

        raise LTIException("OAuth error: %s" %(e.message, )), None, sys.exc_info()[2]

                                              ^

/home/travis/build/mitodl/pylti/pylti/common.py:310:80: E501 line too long (85 > 79 characters)

        raise LTIException("OAuth error: %s" %(e.message, )), None, sys.exc_info()[2]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants