mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Fix logs attribute
This commit is contained in:
parent
bfef4e1426
commit
277f7f8c04
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ public class SentryErrorHandler implements ErrorHandler {
|
|||
s.setTag("terminal", Boolean.toString(ee.isTerminal()));
|
||||
s.setTag("omitted", Boolean.toString(ee.isOmitted()));
|
||||
s.setTag("diagnostics", Boolean.toString(ee.isShouldSendDiagnostics()));
|
||||
s.setTag("logs", Boolean.toString(!ee.getAttachments().isEmpty()));
|
||||
s.setTag("logs", Boolean.toString(ee.isShouldSendDiagnostics() && !ee.getAttachments().isEmpty()));
|
||||
|
||||
var exMessage = ee.getThrowable() != null ? ee.getThrowable().getMessage() : null;
|
||||
if (ee.getDescription() != null && !ee.getDescription().equals(exMessage) && ee.isShouldSendDiagnostics()) {
|
||||
|
|
Loading…
Reference in a new issue