Skip to content

Commit ceb0edd

Browse files
committed
Fix SymDB jar processing
if exception is thrown when parsing a class we will skip the class but still continue to process the current jar and others classes
1 parent 2ebc964 commit ceb0edd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dd-java-agent/agent-debugger/src/main/java/com/datadog/debugger/symbol/SymbolAggregator.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,8 @@ private void parseJarEntry(
286286
} catch (IOException ex) {
287287
symDBReport.addIOException(jarPath.toString(), ex);
288288
LOGGER.debug("Exception during parsing jarEntry class: {}", jarEntry.getName(), ex);
289+
} catch (Exception ex) {
290+
LOGGER.debug("Exception during parsing jarEntry class: {}", jarEntry.getName(), ex);
289291
}
290292
}
291293
}

0 commit comments

Comments
 (0)