From dda18463c50833aafa34f2d57d48612675c43c6c Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 9 Feb 2016 17:21:30 +0100 Subject: [PATCH] don't log.error when failed to write thread dump (EA-77447 - assert: PerformanceWatcher.dumpThreads) --- .../src/com/intellij/diagnostic/PerformanceWatcher.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/core-impl/src/com/intellij/diagnostic/PerformanceWatcher.java b/platform/core-impl/src/com/intellij/diagnostic/PerformanceWatcher.java index 8a70e42781d8..a457063bad8a 100644 --- a/platform/core-impl/src/com/intellij/diagnostic/PerformanceWatcher.java +++ b/platform/core-impl/src/com/intellij/diagnostic/PerformanceWatcher.java @@ -302,8 +302,8 @@ public class PerformanceWatcher implements ApplicationComponent { myPublisher.dumpedThreads(file, threadDump); } - catch (IOException ignored) { - LOG.error("failed to write thread dump file"); + catch (IOException e) { + LOG.info("failed to write thread dump file: " + e.getMessage()); } return file; }