diff --git a/scripts/worker.js b/scripts/worker.js index 156daa7..b22db4a 100644 --- a/scripts/worker.js +++ b/scripts/worker.js @@ -23,7 +23,7 @@ this.onmessage = function(e) { this.name = "ManipulationException"; this.message = message; }; - throw new InverterException('Image manipulation error'); + throw new ManipulatorException('Image manipulation error'); postMessage(undefined); } -} \ No newline at end of file +}