Changes between Version 3 and Version 4 of Ticket #36318, comment 4


Ignore:
Timestamp:
Apr 11, 2025, 10:27:55 AM (5 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36318, comment 4

    v3 v4  
    2424}}}
    2525
    26 as this is a bug in #23353 (3b4a5b9f97f113ca5151cff744019e39a1ed7475) but I'm afraid we won't able to have the `TransactionManagementError` provide details about the `ValidationError`, or any exception raised in an exception handled inside an atomic block for that matter, as it doesn't make it to `Atomic.__exit__` and thus it can't be stored anywhere.
     26as this is a bug in #23353 (3b4a5b9f97f113ca5151cff744019e39a1ed7475) but I'm afraid we won't able to have the `TransactionManagementError` provide details about the `ValidationError`, or any exception raised in an exception handled inside an atomic block for that matter, as it doesn't make it to `Atomic.__exit__` and thus it can't be stored anywhere. If it did make it to `Atomic.__exit__` it would have overridden `rollback_exc` and be surfaced appropriately.
Back to Top