log unknown message type

This commit is contained in:
JovannMC 2025-02-08 22:52:14 +03:00
parent f276dcd7a1
commit 47d266f35d
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ export class VipsConverter extends Converter {
error(["converters", this.name], `error in worker: ${message.error}`);
addToast("error", `Error in VIPS worker, some features may not work.`);
throw new Error(message.error);
} else {
error(["converters", this.name], `unknown message type: ${message.type}`);
}
};
}