clementfarabet / graphicsmagick

A simple Lua wrapper to graphicsmagick.
126 stars 41 forks source link

Consider raising an error when graphicsmagick isn't found #22

Open LinusU opened 9 years ago

LinusU commented 9 years ago

Instead of just printing out a string when the binary isn't found, how about raising an error since the module won't work without it?

Currently our smoketest in torch/distro doesn't detect that there is anything wrong with this module since it loads fine.

Thanks!