fix Jump To search input restoration

This commit is contained in:
zadam
2020-09-01 00:05:19 +02:00
parent a15f8d7e11
commit bf548f9d38
2 changed files with 11 additions and 1 deletions

View File

@@ -6,7 +6,14 @@ function init(callback) {
}
function wrap(callback) {
return () => init(callback);
return () => {
try {
init(callback);
}
catch (e) {
console.log(`Error occurred: ${e.message}: ${e.stack}`);
}
}
}
function get(key) {