display errs

This commit is contained in:
Claude 2016-09-02 08:53:13 +02:00
parent ec887e5ca5
commit 3ad89358da

View File

@ -236,7 +236,11 @@ ST.filereader = function() {
var words = CryptoJS.enc.Base64.parse(e.target.result.split(',')[1]);
var utf8 = CryptoJS.enc.Utf8.stringify(words);
$('#code').val(utf8);
} catch (undefined) {};
} catch (err) {
console.error(err);
console.info('event: ', e);
console.info('file: ', file);
};
},
abort: function(e, file) { /* Native ProgressEvent */ },
skip: function(e, file) {