debug: add console.log to handleUpload entry point
This commit is contained in:
parent
f3477dc23b
commit
4428d91feb
1 changed files with 1 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ async function startSession(e) {
|
||||||
btn.disabled = false;
|
btn.disabled = false;
|
||||||
}
|
}
|
||||||
async function handleUpload(formData) {
|
async function handleUpload(formData) {
|
||||||
|
console.log('handleUpload called, file:', formData.get('source_file')?.name);
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
const xhr = new XMLHttpRequest();
|
const xhr = new XMLHttpRequest();
|
||||||
const file = formData.get('source_file');
|
const file = formData.get('source_file');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue