preview: move OnlyOffice unavailable from warning log to access log extra
This commit is contained in:
1 parent
421d90e9c5
commit
84ef91a360
1 file changed
+1
-1
+1
-1
@@ -625,7 +625,7 @@ async def preview(req, path):
|
||||
logger.warning("Preview worker timeout for %s", filepath)
|
||||
return empty(503)
|
||||
except OnlyOfficeUnavailableError:
|
||||
logger.warning("OnlyOffice unavailable for %s", filepath)
|
||||
req.ctx._log_extra = "onlyoffice N/A"
|
||||
return empty(503)
|
||||
except PreviewError as e:
|
||||
if e.backend:
|
||||
|
||||
Reference in new issue
Block a user