mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-27 10:56:16 -04:00
log failing export request as a warning
This commit is contained in:
parent
89d1c717b0
commit
bf92ba0f9d
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ exports.doExport = function(req, res, padId, type)
|
|||
if (err) {
|
||||
res.status(400);
|
||||
res.send();
|
||||
console.log("Could not process export request:",err.message);
|
||||
console.warn("Could not process export request:",err.message);
|
||||
} else {
|
||||
res.send(txt);
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ exports.doExport = function(req, res, padId, type)
|
|||
if (err) {
|
||||
res.status(400);
|
||||
res.send();
|
||||
console.log("Could not process export request:",err.message);
|
||||
console.warn("Could not process export request:",err.message);
|
||||
return;
|
||||
}
|
||||
html = _html;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue