"Applied:" is logged when migration fails
Đang mở
question
- Ngôn ngữ chính
- Go
- Star
- 7.4k
- Fork
- 379
- Merge trung bình
- 6 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
**Description**
If a migration results in an error, then log output still contains "Applied:" prior to the error.
https://github.com/amacneil/dbmate/blob/fb55683a63f1990a610c798619966576320c5844/pkg/dbmate/db.go#L410-L414
Is this intentional? I would expect "Applied:" to be logged only if everything succeeded and the version record was inserted.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.