Fix missing return on resolve error

This commit is contained in:
Philip Laine 2023-10-18 16:22:41 +02:00
parent 8c2615a54c
commit 2fbf4a267c
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- [#241](https://github.com/XenitAB/spegel/pull/241) Fix missing return on resolve error.
### Security
## v0.0.13

View File

@ -177,6 +177,7 @@ func (r *Registry) handleMirror(c *gin.Context, key string) {
if err != nil {
//nolint:errcheck // ignore
c.AbortWithError(http.StatusInternalServerError, err)
return
}
for {
select {