mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 09:45:45 +03:00
don't ignore error message (#8550)
This commit is contained in:
parent
de4f10be86
commit
c748deef33
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ func GetEditorconfig(ctx *context.APIContext) {
|
||||||
}
|
}
|
||||||
|
|
||||||
fileName := ctx.Params("filename")
|
fileName := ctx.Params("filename")
|
||||||
def, _ := ec.GetDefinitionForFilename(fileName)
|
def, err := ec.GetDefinitionForFilename(fileName)
|
||||||
if def == nil {
|
if def == nil {
|
||||||
ctx.NotFound(err)
|
ctx.NotFound(err)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue