PynamoDB icon indicating copy to clipboard operation
PynamoDB copied to clipboard

DoesNotExist instance error message is empty in v5 onwards

Open l0b0 opened this issue 4 years ago • 0 comments

After upgrading pynamodb 4.3.3 to 5.0.3, a test of the logging of a DoesNotExist error started failing. It looks like the DoesNotExist.msg instance field used to be set to the DoesNotExist.msg class field value, but that this is no longer the case: when catching a DoesNotExist error in production code the msg field is None. Is this intentional?

l0b0 avatar Mar 19 '21 02:03 l0b0