woodpecker/server/api
Anbraten 1f85615a5d
Improve hook errors (#612)
Fixed problems:
- `c.AbortWithError()` stops the chain, but does not return a message as http response
- only return woodpeckers own messages and hide errors from http response (could be dangerous)
- added missing returns
- log all messages send to the user (at least on debug level)
2021-12-18 14:58:01 +01:00
..
debug Reorganize code into server/{api,grpc,shared} packages (#337) 2021-09-22 20:48:01 +02:00
metrics Move entirely to zerolog (#426) 2021-10-12 09:25:13 +02:00
badge.go Add linter revive (#554) 2021-12-01 14:22:06 +01:00
build.go Use same func for accept gated pipelines and none gated pipelines (#594) 2021-12-18 00:09:09 +01:00
file.go Add linter revive (#554) 2021-12-01 14:22:06 +01:00
hook.go Improve hook errors (#612) 2021-12-18 14:58:01 +01:00
login.go Add linter revive (#554) 2021-12-01 14:22:06 +01:00
registry.go Move entirely to zerolog (#426) 2021-10-12 09:25:13 +02:00
repo.go Let remove be a remove (#593) 2021-12-11 16:03:14 +01:00
secret.go Move entirely to zerolog (#426) 2021-10-12 09:25:13 +02:00
stream.go Add linter revive (#554) 2021-12-01 14:22:06 +01:00
user.go Add linter revive (#554) 2021-12-01 14:22:06 +01:00
users.go Add linter revive (#554) 2021-12-01 14:22:06 +01:00
z.go Drop error only on purpose or else report back or log (#514) 2021-11-23 15:36:52 +01:00