1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-06 09:19:22 +02:00

All: Improved ENEX import for web pages that have been saved as notes

This commit is contained in:
Laurent Cozic
2017-12-06 19:29:58 +00:00
parent f42908b11c
commit 507e7e6014
5 changed files with 193 additions and 72 deletions

View File

@@ -246,9 +246,13 @@ class Application extends BaseApplication {
try {
CommandClass = require(__dirname + '/command-' + name + '.js');
} catch (error) {
let e = new Error('No such command: ' + name);
e.type = 'notFound';
throw e;
if (error.message && error.message.indexOf('Cannot find module') >= 0) {
let e = new Error(_('No such command: %s', name));
e.type = 'notFound';
throw e;
} else {
throw error;
}
}
let cmd = new CommandClass();

View File

@@ -1,6 +1,6 @@
{
"name": "joplin",
"version": "0.10.77",
"version": "0.10.78",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -18,7 +18,7 @@
],
"owner": "Laurent Cozic"
},
"version": "0.10.77",
"version": "0.10.78",
"bin": {
"joplin": "./main.js"
},