diff options
author | Luck <git@lucko.me> | 2019-06-16 13:33:43 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2019-06-16 13:33:43 +0100 |
commit | bf6272e791abb7f30e4b3aeeeeedbf22b7807aef (patch) | |
tree | a78e7c6cb106a1c36a7e333b3dc79c760ab5b168 /spark-common/src/main/java/me/lucko/spark | |
parent | 11db3961055067fcd27b579113af4f6d32b9f6a6 (diff) | |
download | spark-bf6272e791abb7f30e4b3aeeeeedbf22b7807aef.tar.gz spark-bf6272e791abb7f30e4b3aeeeeedbf22b7807aef.tar.bz2 spark-bf6272e791abb7f30e4b3aeeeeedbf22b7807aef.zip |
Better catch block for malformed heap dump summary lines
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java b/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java index c949fc8..53de4e8 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java +++ b/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java @@ -97,7 +97,7 @@ public final class HeapDumpSummary { TypeDescriptors.getJavaType(matcher.group(4)) ); } catch (Exception e) { - e.printStackTrace(); + new IllegalArgumentException("Exception parsing line: " + line, e).printStackTrace(); return null; } }) |