If an error is raised in the `commit` call in `teardown_request`, the failed transaction won't be rolled back.