diff --git a/server/go/camlistored/ui/permanode.js b/server/go/camlistored/ui/permanode.js index d138ea93a..1605f2fb6 100644 --- a/server/go/camlistored/ui/permanode.js +++ b/server/go/camlistored/ui/permanode.js @@ -234,6 +234,9 @@ function startFileUpload(file) { }); } }; + fr.onerror = function() { + console.log("FileReader onerror: " + fr.error + " code=" + fr.error.code); + }; fr.readAsDataURL(file); }