mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2026-12-01 14:57:52 +00:00
9d6b294a6143c7639bf5daf9d06b0f1cc5bcb594
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.
How to use
[!TIP]
Learn more about 📘 Using DeepLX by checking it out.
Discussion Group
Acknowledgements
Contributors
Activity
License
Languages
Go
94.7%
Shell
4.7%
Dockerfile
0.6%