Fix bug initializing app

This commit is contained in:
Matthew Gordon 2025-06-12 11:03:23 -03:00
parent 04aec9231b
commit 3fa976c67c
1 changed files with 2 additions and 1 deletions

View File

@ -7,8 +7,9 @@ function fileDragOverHandler(event) {
async function run() {
await init();
let pteropus;
try {
let pteropus = await init_pteropus();
pteropus = await init_pteropus();
} catch(e) {
const errorParagraph = document.createElement("p");
if(e instanceof PteropusInitError) {