IndicoIo-node icon indicating copy to clipboard operation
IndicoIo-node copied to clipboard

Throw error if lwip does not process the image

Open sfakir opened this issue 9 years ago • 1 comments

File: lib/indico.js Line 32

Errors of 'lwip.open(input, options, function (err, image)' are not handled.

Add something like: if (err){ throw new Error(err); }

sfakir avatar Sep 05 '15 00:09 sfakir

Makes a lot of sense. Thanks! @sfakir

sihrc avatar Sep 05 '15 01:09 sihrc