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

async open_func callback should conform to callback(error,[data]) format

Open ryanrolds opened this issue 14 years ago • 1 comments

The callback coming from open_func doesn't include the error, instead the error is throw. The first parameter of a callback should be any error encounter or null and the error shouldn't be throw.

ryanrolds avatar Sep 21 '11 23:09 ryanrolds

this has been fixed in the community-maintained version. please try: https://github.com/mikesmullin/node-gd

mikesmullin avatar Dec 28 '12 00:12 mikesmullin