diff --git a/RNVectorIconsManager/RNVectorIconsManager.m b/RNVectorIconsManager/RNVectorIconsManager.m index de7c5e830..02a5f4929 100644 --- a/RNVectorIconsManager/RNVectorIconsManager.m +++ b/RNVectorIconsManager/RNVectorIconsManager.m @@ -154,7 +154,8 @@ - (NSString *)createGlyphImagePathForFont:(NSString *)fontName if (error.code == kCTFontManagerErrorAlreadyRegistered || error.code == kCTFontManagerErrorDuplicatedName) { resolve(nil); } else { - reject(@"font_load_failed", @"Font failed to load", error); + NSString *errorMessage = [NSString stringWithFormat:@"Font '%@' failed to load", fontFileName]; +        reject(@"font_load_failed", errorMessage, error); } } else { resolve(nil);