Skip to content

Commit

Permalink
printing error as we got it
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianbogdan committed Feb 2, 2020
1 parent 0e78ffe commit f331241
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exif.js
Expand Up @@ -127,8 +127,8 @@ function loaded(){
nfiles--;
if(nfiles==0)
document.getElementById("cpy").disabled=false;
var error= JSON.parse(http.responseText).data.error;
document.getElementById('f_'+n).innerHTML= '<font color="red">'+error+'</font>';
//var error= JSON.parse(http.responseText).data.error;
document.getElementById('f_'+n).innerHTML= '<font color="red">'+http.responseText+'</font>';
}
};
http.send(fd);
Expand Down

0 comments on commit f331241

Please sign in to comment.