diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2016-01-27 05:27:05 +0300 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2016-01-27 05:27:05 +0300 |
commit | a997c1c404d9a330d3cbfcfaa95510c023713cde (patch) | |
tree | 5a33944924d3bfe2b5b45515294c9399d1db22f7 | |
parent | 68795e408196d2467b5efce340dc005de1a1c535 (diff) |
[mono-error] The reflection code still festered with hidden deps for loader-error.
-rw-r--r-- | mono/metadata/reflection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/metadata/reflection.c b/mono/metadata/reflection.c index 591820d0065..0a3b0b9baf4 100644 --- a/mono/metadata/reflection.c +++ b/mono/metadata/reflection.c @@ -9101,7 +9101,7 @@ mono_custom_attrs_from_index (MonoImage *image, guint32 idx) attr->ctor = mono_get_method_checked (image, mtoken, NULL, NULL, &error); if (!attr->ctor) { g_warning ("Can't find custom attr constructor image: %s mtoken: 0x%08x due to %s", image->name, mtoken, mono_error_get_message (&error)); - mono_error_cleanup (&error); /* FIXME don't swallow the error */ + mono_loader_set_error_from_mono_error (&error); g_list_free (list); g_free (ainfo); return NULL; |