"Applied:" is logged when migration fails
Aberta
question
- Linguagem predominante
- Go
- Estrelas
- 7.4k
- Forks
- 380
- Merge médio
- 1d 16h
- PRs com merge (30d)
- 2
Descrição
**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.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.