mirror of https://github.com/VERT-sh/VERT.git
log unknown message type
This commit is contained in:
parent
f276dcd7a1
commit
47d266f35d
|
|
@ -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}`);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue