Commit e606e217 authored by Skye Yu's avatar Skye Yu

test:

parent 0d599743
......@@ -735,7 +735,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress)
ondata(msg.body);
if (flen >= length) {
document.removeEventListener('visibilitychange', visibilitychange);
Logger.info('file download finish.')
Logger.info('jensen', 'getFile','file download finish.')
removeAudio();
// return OK indicates all file blocks received
return 'OK';
......@@ -743,7 +743,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress)
} else {
document.removeEventListener('visibilitychange', visibilitychange);
removeAudio();
Logger.info('file download fail.')
Logger.info('jensen', 'getFile','file download fail.')
ondata('fail');
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment