8264633: Add missing logging to PlatformRecording#stop

Reviewed-by: egahlin
This commit is contained in:
Denghui Dong 2021-04-08 08:11:43 +00:00 committed by Erik Gahlin
parent e89542fbe6
commit ec599da68c

View File

@ -176,7 +176,8 @@ public final class PlatformRecording implements AutoCloseable {
notifyIfStateChanged(newState, oldState);
close(); // remove if copied out
} catch(IOException e) {
// throw e; // BUG8925030
Logger.log(LogTag.JFR, LogLevel.ERROR,
"Unable to complete I/O operation when dumping recording \"" + getName() + "\" (" + getId() + ")");
}
} else {
notifyIfStateChanged(newState, oldState);