1
0
Fork 0
forked from jriou/coller

feat: Return top-level errors to clients

In order to reduce security risk, the server now returns only functional error
messages to the clients and log low-level error messages.

Fixes #35.

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2025-10-01 18:11:30 +02:00
commit 55de3afc71
Signed by: jriou
GPG key ID: 9A099EDA51316854
4 changed files with 170 additions and 115 deletions

View file

@ -102,8 +102,7 @@ Body (JSON):
### Errors
Errors return **500 Server Internal Error** with the **JSON** payload:
* **message** (string): context of the error
* **error** (string): error message
* **message** (string): message of the error
## Dependencies