We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44cd75d + db66c95 commit a97c4f4Copy full SHA for a97c4f4
php/ext/google/protobuf/def.c
@@ -916,7 +916,10 @@ static void add_descriptor(DescriptorPool *pool,
916
917
if (upb_symtab_lookupfile2(pool->symtab, name.data, name.size)) {
918
// Already added.
919
- fprintf(stderr, "WARNING: file was already added\n");
+ zend_error(E_USER_WARNING,
920
+ "proto descriptor was previously loaded (included in multiple "
921
+ "metadata bundles?): " UPB_STRVIEW_FORMAT,
922
+ UPB_STRVIEW_ARGS(name));
923
return;
924
}
925
0 commit comments