How to diagnose the «Could not save credit memo» failure?

https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/Sales/Model/Order/CreditmemoRepository.php#L125-L141

Because of the bug, you can get an actual error message only by setting a breakpoint in a debugger.

Bug: the \Magento\Sales\Model\Order\CreditmemoRepository::save() method misses (does not log and does not show) the actual exception message on a credit memo saving falure

See also: