mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-30 00:56:56 +13:00
Don't send empty reports
This commit is contained in:
parent
bd8eea3159
commit
ad5514124c
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ public class SentryErrorHandler implements ErrorHandler {
|
|||
var email = ee.getEmail();
|
||||
var hasEmail = email != null && !email.isBlank();
|
||||
var text = ee.getUserReport();
|
||||
var hasText = text != null && !text.isEmpty();
|
||||
var hasText = text != null && !text.isBlank();
|
||||
if (hasText || hasEmail) {
|
||||
var fb = new UserFeedback(id);
|
||||
if (hasEmail) {
|
||||
|
|
Loading…
Reference in a new issue