Report database close cause when transaction exception is encountered.