v1.8.0: YandexGPT-only NLP, unknown questions system, callback dedup, consent flow fixes, DELETE cascade, UTC+3, auto-detect sidebar menu, tel:/mailto: links
This commit is contained in:
@@ -35,9 +35,9 @@ class EmailSender:
|
||||
timeout=30,
|
||||
)
|
||||
return proc.returncode == 0
|
||||
except Exception as e:
|
||||
logger.error(f"Email send failed: {e}, falling back to debug log")
|
||||
return self._send_debug(to, subject, body, from_addr)
|
||||
except Exception as e:
|
||||
logger.error(f"Email send failed: {e}, falling back to debug log")
|
||||
return self._send_debug(to, subject, body, from_addr)
|
||||
|
||||
def _send_debug(self, to: str, subject: str, body: str, from_addr: str) -> bool:
|
||||
log_dir = os.path.join(os.path.dirname(__file__), "..", "logs")
|
||||
|
||||
Reference in New Issue
Block a user