Reraise exception when ORM is using custom code
It is frequent that an error happens in the ORM (usually in Function.get
) because custom code (ex: getter
) returns invalid result.
The problem is that the exception is often raised after the call and we do not have much information from the exception context.
I think we could reraise unexpected exceptions in some places like Function.get
with some extra context that will help understanding the error and debugging it.