include failing tx when transacting throws

datomic doesn't tell you what failed at all here (would be nice if it did), but it
seems like we should include this data when transacting fails.