throw Exception when storeVertragsbestandteil is rolled back to handle rollback in possible outer transaction

This commit is contained in:
Harald Bamberger
2023-04-11 11:05:15 +02:00
parent fca341ccf4
commit 025b58dee3
@@ -74,6 +74,7 @@ class VertragsbestandteilLib
{
log_message('debug', "Transaction rolled back. " . $ex->getMessage());
$this->CI->db->trans_rollback();
throw new Exception('Storing Vertragsbestandteil failed.');
}
}