Update fileOpener2Proxy.js

This commit is contained in:
Nathaniel van Diepen 2018-12-11 08:59:29 -07:00 committed by GitHub
parent 4f9d9b2264
commit d84b20e620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@
var path = args[0];
var getFile = getFileLoaderForScheme(path);
try{
getFile(path).then(function (file) {
var options = new Windows.System.LauncherOptions();
@ -80,11 +80,13 @@
}, function (error) {
errorCallback(error);
});
}, function (error) {
console.log("Error while opening the file: "+error);
errorCallback(error);
});
}catch(error){
errorCallback(error);
}
}
};