Commit
β’
b2a43a2
1
Parent(s):
9d7e455
π Log errors
Browse files- app.ts +1 -0
- dist/app.js +1 -0
app.ts
CHANGED
@@ -83,6 +83,7 @@ window.document.addEventListener("DOMContentLoaded", () => {
|
|
83 |
`<div class="text-green-500 mb-6">π Upload complete! Model page is <a target="_blank" class="text-bold underline" href="${repoUrl}">${repoUrl}</a></div>`
|
84 |
);
|
85 |
} catch (err) {
|
|
|
86 |
output.append("\n" + err);
|
87 |
}
|
88 |
button.removeAttribute("disabled");
|
|
|
83 |
`<div class="text-green-500 mb-6">π Upload complete! Model page is <a target="_blank" class="text-bold underline" href="${repoUrl}">${repoUrl}</a></div>`
|
84 |
);
|
85 |
} catch (err) {
|
86 |
+
console.error(err);
|
87 |
output.append("\n" + err);
|
88 |
}
|
89 |
button.removeAttribute("disabled");
|
dist/app.js
CHANGED
@@ -66,6 +66,7 @@ window.document.addEventListener("DOMContentLoaded", () => {
|
|
66 |
button.insertAdjacentHTML("afterend", `<div class="text-green-500 mb-6">π Upload complete! Model page is <a target="_blank" class="text-bold underline" href="${repoUrl}">${repoUrl}</a></div>`);
|
67 |
}
|
68 |
catch (err) {
|
|
|
69 |
output.append("\n" + err);
|
70 |
}
|
71 |
button.removeAttribute("disabled");
|
|
|
66 |
button.insertAdjacentHTML("afterend", `<div class="text-green-500 mb-6">π Upload complete! Model page is <a target="_blank" class="text-bold underline" href="${repoUrl}">${repoUrl}</a></div>`);
|
67 |
}
|
68 |
catch (err) {
|
69 |
+
console.error(err);
|
70 |
output.append("\n" + err);
|
71 |
}
|
72 |
button.removeAttribute("disabled");
|