Closed
Description
Description
When there is an error with the yaml syntax gitea crashes
Gitea Version
1.19.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
2023/03/22 15:07:24 [641b19ac-8] router: completed POST /api/internal/ssh/1/update/8 for 172.19.0.1:0, 200 OK in 2.6ms @ private/key.go:17(private.UpdatePublicKeyInRepo)
Received disconnect from 172.19.0.1 port 49392:11: disconnected by user
Disconnected from user git 172.19.0.1 port 49392
2023/03/22 15:07:25 ...les/cache/context.go:62:GetContextData() [W] [641b19ad] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0xc005052a00 false}
2023/03/22 15:07:25 ...les/cache/context.go:71:SetContextData() [W] [641b19ad] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0xc005052a00 false}
2023/03/22 15:07:25 ...les/cache/context.go:62:GetContextData() [W] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0xc005052a00 false}
2023/03/22 15:07:25 ...les/cache/context.go:71:SetContextData() [W] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}) 0xc005052a00 false}
2023/03/22 15:07:25 ...les/cache/context.go:62:GetContextData() [W] cannot get cache context when getting data: *db.Context.WithValue(type struct {}, val NotifyPushCommits)
2023/03/22 15:07:25 ...les/cache/context.go:71:SetContextData() [W] cannot get cache context when setting data: *db.Context.WithValue(type struct {}, val NotifyPushCommits)
2023/03/22 15:07:25 ...les/cache/context.go:62:GetContextData() [W] cannot get cache context when getting data: *db.Context.WithValue(type struct {}, val NotifyPushCommits)
2023/03/22 15:07:25 ...les/cache/context.go:71:SetContextData() [W] cannot get cache context when setting data: *db.Context.WithValue(type struct {}, val NotifyPushCommits)
time="2023-03-22T15:07:25Z" level=fatal msg="yaml: unmarshal errors:\n line 210: cannot unmarshal !!str `${{ fro...` into []interface {}"
Received signal 15; terminating.
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
None