Stream-Framework
Stream-Framework copied to clipboard
TypeError: catching classes that do not inherit from BaseException is not allowed
Hi Daniel,
That's interesting, what version of Python are you using?
Python 3.5
It works on 2.7 and 3.4...
If you change exceptions=None to exceptions=tuple() does that work better?
Side note is that I'm side loading the settings in order to get it to work with a flask app. It could be related to this Django bug, but I'm pretty close to figuring this out.
So 3.5 also works for me. Both
except None as e: and except tuple() as e: are valid