mirror of
https://github.com/janeczku/calibre-web
synced 2025-12-17 13:08:05 +00:00
Improved logging for emails
Removed private data from debug export
This commit is contained in:
@@ -44,7 +44,7 @@ class EmailBase:
|
||||
|
||||
def send(self, strg):
|
||||
"""Send `strg' to the server."""
|
||||
log.debug('send: %r', strg[:300])
|
||||
log.debug_no_auth('send: {}'.format(strg[:300]))
|
||||
if hasattr(self, 'sock') and self.sock:
|
||||
try:
|
||||
if self.transferSize:
|
||||
|
||||
Reference in New Issue
Block a user