]> source.dussan.org Git - gitea.git/commit
Make `bind` error more readable (#17750)
authorGusted <williamzijl7@hotmail.com>
Mon, 22 Nov 2021 13:05:29 +0000 (13:05 +0000)
committerGitHub <noreply@github.com>
Mon, 22 Nov 2021 13:05:29 +0000 (21:05 +0800)
commited23a6c39704c329ec4940bfec16739a0d3d3e91
treec86671924f61a56edab04227366cf165b34c24c0
parenta3efd048a7770aff898096df55eda76e80a4972e
Make `bind` error more readable (#17750)

- Add the related fieldNames into the response JSON, such that the developer can figure out what's going on.
- Related:
https://github.com/go-gitea/gitea/issues/17126#issuecomment-937848295
routers/api/v1/api.go