show debugging info when transaction fails to save