Tj Holowaychuk 14 years ago
parent
commit
a6271b3243
  1. 1
      src/Image.cc

1
src/Image.cc

@ -111,6 +111,7 @@ Image::SetSrc(Local<String>, Local<Value> val, const AccessorInfo &info) {
img->filename = strdup(*src);
TryCatch try_catch;
img->load();
// TODO: this does not work... something funky going on
if (try_catch.HasCaught()) {
img->error(try_catch);
} else {

Loading…
Cancel
Save