diff --git a/src/Image.cc b/src/Image.cc index 794d22a..0149971 100644 --- a/src/Image.cc +++ b/src/Image.cc @@ -111,6 +111,7 @@ Image::SetSrc(Local, Local 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 {