mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2026-06-11 15:28:50 +00:00
Return a generic "Translation failed" message instead of echoing err.Error() in the HTTP response, and log the underlying error server-side via log.Printf. Avoids leaking internal details (proxy address, upstream URL, etc.) to API clients while keeping the 500 behavior introduced in #224. |
||
|---|---|---|
| .. | ||
| config.go | ||
| service.go | ||