Skip to content

Visit /vendor/plugins/vue-calendar-heatmap/vue-calendar-heatmap.css panic #7183

@lunny

Description

@lunny

When visit this file, it returned sucessfully. But it also will panic on logs. How macaron stop execution when hit a static file?

2019/06/12 09:49:16 Started GET /vendor/plugins/vue-calendar-heatmap/vue-calendar-heatmap.css for [::1]
2019/06/12 09:49:16 routers/repo/http.go:96:HTTP() [E] GetUserByName: user does not exist [uid: 0, name: vendor, keyid: 0]
	/Users/***/gopath/src/code.gitea.io/gitea/routers/repo/http.go:96 (0x1ef1a22)
		HTTP: ctx.NotFoundOrServerError("GetUserByName", models.IsErrUserNotExist, err)
	/Users/lunny/goroot/src/reflect/value.go:447 (0x1089410)
		Value.call: call(frametype, fn, args, uint32(frametype.size), uint32(retOffset))
	/Users/lunny/goroot/src/reflect/value.go:308 (0x1088e93)
		Value.Call: return v.call("Call", in)
	/Users/***/gopath/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:177 (0x156e486)
		(*injector).callInvoke: return reflect.ValueOf(f).Call(in), nil
	/Users/***/gopath/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:137 (0x156dd7b)
		(*injector).Invoke: return inj.callInvoke(f, t, t.NumIn())

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions