vdemedes/magician — Issue #1: error capture
Author: metamind
Created: 2012-01-05 12:04:00+00:00
State: open

Added (to my local copy) the ability to capture errors. So, for example, my resize looks like this:

return exec("convert -resize " + width + "x" + height + " " + this.sourcePath + " " + this.destPath, function(err) {
if (callback) {
return callback(err);
}
});