mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-28 11:26: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) {
|
if (err) {
|
||||||
res.status(400);
|
res.status(400);
|
||||||
res.send();
|
res.send();
|
||||||
console.log("Could not process export request:",err.message);
|
console.warn("Could not process export request:",err.message);
|
||||||
} else {
|
} else {
|
||||||
res.send(txt);
|
res.send(txt);
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,7 @@ exports.doExport = function(req, res, padId, type)
|
||||||
if (err) {
|
if (err) {
|
||||||
res.status(400);
|
res.status(400);
|
||||||
res.send();
|
res.send();
|
||||||
console.log("Could not process export request:",err.message);
|
console.warn("Could not process export request:",err.message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
html = _html;
|
html = _html;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue