fix gitea workflow path and runner label
Build docker and publish / build (20.15.1) (push) Failing after 8m21s
Build docker and publish / build (20.15.1) (push) Failing after 8m21s
This commit is contained in:
@@ -70,6 +70,9 @@ func LoggerMiddleware(svc *svc.ServiceContext) func(c *gin.Context) {
|
||||
Value: c.Request.UserAgent(),
|
||||
},
|
||||
}
|
||||
if apiHeader, ok := c.Get("api_header"); ok {
|
||||
logs = append(logs, logger.Field("api_header", apiHeader))
|
||||
}
|
||||
if c.Errors.Last() != nil {
|
||||
var e *xerr.CodeError
|
||||
var errMessage string
|
||||
|
||||
Reference in New Issue
Block a user