Better base64 illegal character output.

This commit is contained in:
Joel Martin 2012-02-20 15:48:39 -06:00
parent 3b302463f8
commit c6f3919cb0
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ decode: function (data, offset) {
padding = (data.charAt(i) === pad);
// Skip illegal characters and whitespace
if (c === -1) {
console.error("Illegal character '" + data.charCodeAt(i) + "'");
console.error("Illegal character code " + data.charCodeAt(i) + " at position " + i);
continue;
}