We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb6a942 commit 0b1ea35Copy full SHA for 0b1ea35
sentry-async-profiler/src/main/java/io/sentry/asyncprofiler/profiling/JavaContinuousProfiler.java
@@ -158,6 +158,8 @@ public void startProfiler(
158
logger.log(SentryLevel.DEBUG, "Started Profiler.");
159
start();
160
}
161
+ } catch (Exception e) {
162
+ logger.log(SentryLevel.ERROR, "Error starting profiler: ", e);
163
164
165
@@ -326,6 +328,8 @@ private void stop(final boolean restartProfiler) {
326
328
profilerId = SentryId.EMPTY_ID;
327
329
logger.log(SentryLevel.DEBUG, "Profile chunk finished.");
330
331
332
+ logger.log(SentryLevel.ERROR, "Error stopping profiler: ", e);
333
334
335
0 commit comments