DeepLX/service
Vincent Young 9d6b294a61
fix(service): log translation errors and hide internals from clients
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.
2026-06-02 14:38:02 +08:00
..
config.go refactor: make service exportable (#183) 2025-04-08 13:53:20 -04:00
service.go fix(service): log translation errors and hide internals from clients 2026-06-02 14:38:02 +08:00