mirror of https://git.sr.ht/~sircmpwn/hub.sr.ht
ec7a552ffc
Currently, any 400 error that occurs will be swallowed by `SrhtService.post()` [1] - the caller must use a validation object to become aware of an error. This commit adds such error handling by means of a validation object to the build submission webhook. [1]: https://git.sr.ht/~sircmpwn/hub.sr.ht/tree/f37b9e6e/item/hubsrht/services.py#L56-60 |
||
---|---|---|
.. | ||
alembic | ||
blueprints | ||
templates | ||
types | ||
app.py | ||
builds.py | ||
decorators.py | ||
oauth.py | ||
projects.py | ||
services.py | ||
trailers.py |