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 078e7fc commit e9c5fc4Copy full SHA for e9c5fc4
CHANGELOG.md
@@ -1,5 +1,11 @@
1
# Changelog
2
3
+## Unreleased
4
+
5
+### Fixes
6
7
+- No longer send out empty log envelopes ([#4497](https://github.com/getsentry/sentry-java/pull/4497))
8
9
## 8.14.0
10
11
### Fixes
sentry/src/main/java/io/sentry/logger/LoggerBatchProcessor.java
@@ -101,7 +101,9 @@ private void flushBatch() {
101
}
102
} while (!queue.isEmpty() && logEvents.size() < MAX_BATCH_SIZE);
103
104
- client.captureBatchedLogEvents(new SentryLogEvents(logEvents));
+ if (!logEvents.isEmpty()) {
105
+ client.captureBatchedLogEvents(new SentryLogEvents(logEvents));
106
+ }
107
108
109
private class BatchRunnable implements Runnable {
0 commit comments