Jaymon / prom

A PostgreSQL or SQLite orm for Python
MIT License
22 stars 4 forks source link

addon.MagicOrm.__getattr__ buries raised exceptions #106

Closed Jaymon closed 4 years ago

Jaymon commented 4 years ago

So you get an error like:

AttributeError:

Instead of what the error actually was, this should at least log to warning that another exception was raised or better yet save the error and raise it

Jaymon commented 4 years ago

I think this is actually this problem: https://github.com/Jaymon/decorators/issues/4