debugging

This commit is contained in:
Elijah Bansley 2018-05-20 22:30:26 -05:00 committed by GitHub
parent 90c7ee86d1
commit 9fb12432de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,6 +152,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
alert("You need to upload a file, to use an uploaded file."); alert("You need to upload a file, to use an uploaded file.");
return; return;
} }
logOutput("Using uploaded payload \"" + file + "\"");
payload = new Uint8Array(await readFileAsArrayBuffer(file)); payload = new Uint8Array(await readFileAsArrayBuffer(file));
} else { } else {
logOutput("<span style='color:red'>You're trying to load a payload type that doesn't exist.</span>"); logOutput("<span style='color:red'>You're trying to load a payload type that doesn't exist.</span>");