diff options
Diffstat (limited to 'core/decoders/tightpng.js')
-rw-r--r-- | core/decoders/tightpng.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/decoders/tightpng.js b/core/decoders/tightpng.js index 2d91746..7bbde3a 100644 --- a/core/decoders/tightpng.js +++ b/core/decoders/tightpng.js @@ -24,6 +24,6 @@ export default class TightPNGDecoder extends TightDecoder { } _basicRect(ctl, x, y, width, height, sock, display, depth) { - throw Error("BasicCompression received in TightPNG rect"); + throw new Error("BasicCompression received in TightPNG rect"); } } |