Your patch looks like the approach I would take, except I'd probably check for a specific exception type instead of 'Exception'. Or, even use hasattr() to determine which attribute to use.
I'll try this out tomorrow.
Your patch looks like the approach I would take, except I'd probably check for a specific exception type instead of 'Exception'. Or, even use hasattr() to determine which attribute to use.
I'll try this out tomorrow.