mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
Abiword: Fix logging of conversion failure
This commit is contained in:
parent
f015f59cfc
commit
8d32463915
1 changed files with 2 additions and 5 deletions
|
@ -81,11 +81,8 @@ if (os.type().indexOf('Windows') > -1) {
|
||||||
abiword.stdin.write(`convert ${task.srcFile} ${task.destFile} ${task.type}\n`);
|
abiword.stdin.write(`convert ${task.srcFile} ${task.destFile} ${task.type}\n`);
|
||||||
stdoutCallback = (err) => {
|
stdoutCallback = (err) => {
|
||||||
callback();
|
callback();
|
||||||
try {
|
if (err != null) console.error('Abiword File failed to convert', err);
|
||||||
task.callback(err);
|
task.callback(err);
|
||||||
} catch (e) {
|
|
||||||
console.error('Abiword File failed to convert', e);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue