Display a message when pinPads returns an error

This commit is contained in:
yflory
2017-05-22 10:41:47 +02:00
parent 67a04a16ec
commit 538aec6ef5
4 changed files with 12 additions and 4 deletions

View File

@@ -575,7 +575,10 @@ define([
atime: +new Date(),
ctime: +new Date()
}, function (err) {
if (err) { return void cb(err); }
if (err) {
logError(err);
return void cb(err);
}
parentEl[fileName] = href;
var newPath = filePath.slice();
newPath.push(fileName);