mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
AI routes (remove-background, erase-object, ocr, blur-faces, upscale) were silently swallowing errors - failures returned HTTP 422 to the client but never appeared in server logs. This made it impossible for self-hosters to diagnose issues like 504 timeouts from reverse proxies. Adds request.log.info() at processing start (tool name, image size, key settings) and request.log.error() in catch blocks, matching the existing tool-factory pattern. Co-authored-by: Siddharth Kumar Sah <siddharth123sk@gmail.com>