Skip to content

Commit 990a6f8

Browse files
author
amvanbaren
committed
log loadContentTypes
1 parent 851965d commit 990a6f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/src/main/java/org/eclipse/openvsx/ExtensionProcessor.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,9 +425,12 @@ public FileResource getLicense(ExtensionVersion extVersion) {
425425
}
426426

427427
private Map<String, String> loadContentTypes() {
428+
logger.info(">> loadContentTypes");
428429
var bytes = ArchiveUtil.readEntry(zipFile, "[Content_Types].xml");
429430
var contentTypes = parseContentTypesXml(bytes);
430431
contentTypes.putIfAbsent(".vsix", "application/zip");
432+
contentTypes.forEach((key, value) -> logger.info("{}: {}", key, value));
433+
logger.info("<< loadContentTypes");
431434
return contentTypes;
432435
}
433436

0 commit comments

Comments
 (0)