(self)
| 64 | |
| 65 | impl<'c> Transaction<'c> for PostgresTransaction<'c> { |
| 66 | fn commit(self) -> impl Future<Output = Result<()>> + Send { |
| 67 | self.0.commit().map_err(|e| { |
| 68 | let error = Error::new(e); |
| 69 | log::error!("{error:#}"); |
| 70 | error |
| 71 | }) |
| 72 | } |
| 73 | |
| 74 | fn rollback(self) -> impl Future<Output = Result<()>> + Send { |
| 75 | self.0.rollback().map_err(|e| { |
nothing calls this directly
no outgoing calls
no test coverage detected