mirror of https://github.com/go-gitea/gitea
Handle invalid target when creating releases using API (#31841)
A 500 status code was thrown when passing a non-existent target to the create release API. This snapshot handles this error and instead throws a 404 status code. Discovered while working on #31840.pull/27779/head
parent
4ab6fc62d2
commit
f05d9c98c4
Loading…
Reference in new issue